The CreatorCon Call for Content is officially open! Get started here.

Setting activity.result to other states in workflow

Musab Rasheed
Tera Sage

Hi,

I'm badly stuck at one point in Workflow , basically in catalog task activity i have added two conditions , one for complete 'activity.result == 3' and another for pending 'activity.result == -5'

. but the problem is it is not executing the pending part , i tried to do lot of work around but nothing works. kindly help me on this. please see screenshots below.

Capture.JPG

Capture.JPG

Please hit like and mark my response as correct if that helps
Regards,
Musab
1 ACCEPTED SOLUTION

Hi Musab,



Looks like pending would not be validated as part of the activity.result. Please refer the screen shot.



find_real_file.png



They document clearly tells the possible result values are.. Refer this documentation.



Catalog Task workflow activity



The listed states works correctly except the pending. Please mark as helpful or correct if it helped you get a answer.



Regards


Param


View solution in original post

9 REPLIES 9

Jeet
Tera Expert

Hi,



state == 3 // is it working ? if yes it should execute another condition too



In condition just modify this


try this



activity.result == '-5'   /   activity.result == 'label name'




Thanks,


Jeet


Hi Jitendra,



This doesn't work , i already tried it.



Thanks


Please hit like and mark my response as correct if that helps
Regards,
Musab

Jeet
Tera Expert

Add new condition for a catalog task activity


this thread might be helpful for you.



Regards,


Jeet


Paramahanns
Tera Expert

Hi Musab,



How does workflow look. And does all the remaining flow go well. Can you please explain more the requirement, Screen shot of the workflow so that it would be easier to see why it does not work.



Regards


Param