Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Customer Support Forum
- >
- FreeFlow Production Workflow Forum
- >
- FreeFlow Core
- >
- Process Number Variable Calculations

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted
##

As I knew number variable can be calculated in FF Core 5.1.0.4, I have a pdf containing 16 pages which will be printed duplex on the printer, the first 14 pages are letters need to be mailed to our clients, the last 2 pages are mailing instructions for our mail team, that said there will be 7 mail pieces (16-2)/2. I put the formular ($FFwfdoc.pages$-2)/2 in the parameter area of the external node where I expect the sent out email to show "Mail piece: 7" but instead it shows "Mail piece: (16-2)/2", how can I perform calculation in this situation?

shiu

Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-23-2018
11:50 AM

Process Number Variable Calculations

21 Replies

Highlighted
##

One could add addition variables (e.g., $FFsubtractionnumber$ and $FFdivisor$) via MAX. These variables then could be fed to the external node via parameters. The computation could be completed in the external node.

DavidU54339-XRX

FreeFlow Production Workflow Moderator

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-24-2018
10:53 AM

Re: Process Number Variable Calculations

Highlighted
##

Does it mean the variable calculation must go through MAX but not put the formular directly in the parameters field of the external node?

shiu

Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-24-2018
12:37 PM

Re: Process Number Variable Calculations

Highlighted
##

DavidU54339-XRX

FreeFlow Production Workflow Moderator

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-24-2018
02:22 PM

Re: Process Number Variable Calculations

I do not believe that a formula can be used directly in the external node parameter field.

My idea is to add to the MAX setup for a hotfolder two custom number fields (e.g., divisor and substractor -- the FFCore variables will be $FFdivisor$ and $FFsubtractor$). The MAX csv file will need values for the fields.

On the External node parameter settings add "$FFdivisor$" and "$FFsubtractor$", use these values within the external node script file to compute the value you want.

Highlighted
##

TomFischer

FreeFlow User

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-04-2018
07:27 AM

Re: Process Number Variable Calculations

I'm also interested. I have seen screenshots where calculations like this have been set in the fields directly. Example:

Not working: $FFvar1$+2*$FFvar2$ (but syntax is correct, otherwise FFC throws an error)

Working fine: $FFvar1$+$FFvar2$+$FFvar2$

This workaround works for me at the moment but is harder to read and limited.

WHERE can I find a documentation about calculation?

Here's the screenshot from a Xerox presentation:

Highlighted
##

There is limited documentation in HELP under Process Number Variable Calculations. If you are obtaining erroneous calculations via FFCore please author a SPAR.

DavidU54339-XRX

FreeFlow Production Workflow Moderator

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-04-2018
11:19 AM

Re: Process Number Variable Calculations

Highlighted
##

TomFischer

FreeFlow User

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-05-2018
02:56 AM

Re: Process Number Variable Calculations

Can you provide or link a FULL documentation?

Highlighted
##

DavidU54339-XRX

FreeFlow Production Workflow Moderator

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-05-2018
09:08 AM

Re: Process Number Variable Calculations

The following is the documentation in Help:

**Process Number Variable Calculations**

Number settings may support Calculated values as part of their configuration. Calculated values may be defined using arithmetic formulas. The following operations are supported:

• Addition

• Subtraction

• Multiplication

• Division

• Parentheses to change the order of operations

In addition, the formula may also include other Process Variables.

Example: ($FFwfdoc.pages$ / 2) + 1

The Default Value Setting defines a fixed value that will be used if the selected variable is undefined for a given job.

Highlighted
##

DavidU54339-XRX

FreeFlow Production Workflow Moderator

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-05-2018
09:14 AM

Re: Process Number Variable Calculations

Would your example work as follows:

$FFvar1$ + (2*FFvar2$).

If the order of operations is strictly followed the "2" will be added to $FFvar1$ and then the sum multiplied by $FFvar2$ . This is another way of represented what you may be obtaining ($FFvar1$ + 2) * ($FFvar2$)

Highlighted
##

barwapk

Frequent Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-03-2019
08:45 AM

Re: Process Number Variable Calculations

I have problems with operations in calculated value (in resize node),

$FFvar&-6 doesnt work

$FFvar$+6 works

Can someone help me?