Sunday, December 23, 2018

Use Percent Type Field as Condition in Workflows

Using Percent Type field in Workflow as condition causes the Workflow to evaluate to false always as the Workflow appears to negate the automatically added % in the condition. As an alternate solution:

Given {original percent field} as the Percent Type field you want to use as a Workflow condition

1. Create a Workflow field or Type Percent (ex. {workflowpercentfield})

2. Add a Set Field Value action that will assign the original field's value to the workflow field ({workflowpercentfield} = {original percent field})

3. Set the Workflow condition to evaluate against the workflow field (if {workflowpercentfield} = "value for comparison, ex. 100%")

4. Change the Workflow Field type and set it to Free Form Text

No comments:

Post a Comment