I see the problem. I was able to avoid the error by changing the equation order. For example - 6 + $FFvart$ (instead of $FFvart$ - 6 ) . Not a great solution but it worked for me.
How to add a picture on this forum?
This is Custom Field, and its Type is Number
screens below
http://www.barwa.pl/site_media/img/screen1.png
Is the variable a standard FFCore variable (e.g., described in HELP)? Can provide me the name of the variable? Depending on variable type (e.g., string, enum, number, dimension), you may be forming a non-supported outcome with your formula. In what node are you applying the formula? Is the error posted on the job management GUI?
Unfortuneately your attached pngs are clipped. I do not understand how the formula is designated or the error message.
this is in Polish "określone rzutowanie jest nieprawidłowe", it means "the specified cast is not valid"
What do you mean by not working? Processing fails? You do not obtain the result you expect? I am concerned that your formula could result in a negative number, which may make no sense for the calculated value.
Sorry my mystake there is $ and not working.
A "$" is needed at the end of the variable name -- not a "&". $FFvar$-6 should work.
I have problems with operations in calculated value (in resize node),
$FFvar&-6 doesnt work
$FFvar$+6 works
Can someone help me?
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$)
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.