Hi! How can we pass dynamic field value into work...
# suiteflow
d
Hi! How can we pass dynamic field value into workflow action script while moving from one state to another state transfer which is set using setfieldvalue - appreciate for kind response!
r
You might be able to use workflow fields for this
d
Thank you for responding- appreciate! But, here requirement is to pass value to action script from previous state
j
create the workflow field (not workflow state field), set it in your first state, then the value will be available in the second state
r
If a workflow action script needs access to information, I usually just create a custom field on the record and get it from there. Or you can have a script parameter on your workflow action script and pass the data to the script parameter in your workflow.
d
Excellent- how do we read workflow field in the script ?
j
Or you can have a script parameter on your workflow action script and pass the data to the script parameter in your workflow.