Hi all, recently i had a requirement to enable and disable Email notification in a workflow depending on some flag or user provided value.
To achieve this we used LOV to conditionally control the notification flow.
We used the following step.
1.Create a LOV type say ENABLE_EMAIL_NOTIFICATION.
2.Set Display name to TRUE and parent LIC to TRUE.
this value TRUE will be used as a conditon to execute the process.
Now in the workflow create a decision step and in the condition branch add the following condition.
Lookupvalue(ENABLE_EMAIL_NOTIFICATION,"TRUE") = "TRUE"
this expression takes input lov type and parent lic and get the Display value, so the condition executes only if value of LOV is TRUE.
Hope this was helpful.
No comments:
Post a Comment