If no tasks available, complete workflow

HenryD
Tera Guru

Hello, right now I have an IF activity in my Workflow, basically if the short description within task does not contain a task called "Account Creator", the arrow is pointing to the set values to complete the workflow.

It is working but then it isn't working, its inconsistent, basically what I want to happen is if there are no tasks left to approve then complete the workflow, if there are tasks named account creator then I'm having it go to a wait for condition.

 

Is there a simpler way or better way of doing this? Its working but I'm finding its inconsistent. 

7 REPLIES 7

Sujatha V M
Kilo Patron
Kilo Patron

@HenryD  Could you please share the snippet of the workflow to get a clear picture?

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

yes just added, the scripts above create tasks based on roles in a group,  right now the IF is looking to see if there is any with "short description" "account creator" ive been getting mixed results 

Brian Lancaster
Tera Sage

Can you share your if script (not a screenshot). Typically if scripts work at the RITM level unless you have done a glide record query so we need more information to understand the issue and help resolve it.

Mine is the IF activity containing, task.short description is account creator, no scripting involved