When defining field values, ensure that the value you enter is valid for the datatype of the selected field. Also verify that the context configuration for the project that uses the workflow will allow the modifying of the selected field.If not, the transition may fail at execution time.
Typically you will use text or numbers as values.
See: Post-Function Concatenation Operations
Cascading Select fields
For Cascading Select fields, you can either use the value of the option you would like to set, or its ID. In either case, there is no need to specify the parent option. For example:
- Vehicles
- Car
- Train
- Bus
- Buildings
- House
- Skyscraper
Using Vehicles as the parameter for Field Value would set the field content to that option; similarly, if you choose Train.
Special macros
- If you use
%%CURRENT_USER%%
as the field value, the user who triggered the post function will be set as the value. - If you use
%%CURRENT_DATETIME%%
as the field value, the current date and time will be set as the value. - If you use
%%ADD_CURRENT_USER%%
as the field value, the user who triggered the post function will be appended to the existing field content.
Obsolete since JSU version 1.4.10: %%ADD_CURRENT_USER%%
Please use the option 'Append value' combined with the macro '%%CURRENT_USER%%' instead.