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

how to write conditions for create task activity

Rajyalakshmi
Tera Expert

I have one query ,can you please help.

I have one workflow attached in sc_task table.i am unable to use catalog task activity in this workflow ,so i have used create task activity and mapped the table as sc_task.now in this create task activity how to write conditions for close complete and close incomplete.

i tried activity.result='3'//close complete and activity.result='4'// close incomplete .But my workflow got stuck ,it is not moving to next activity.

5 REPLIES 5

Nilesh Pol
Tera Guru
Tera Guru

@Rajyalakshmi 

Have you used "wait for condition" activity after "create task" activity.?

if no, then add "wait for condition" for sc_task table and add condition State is one of "close complete OR incomplate"

 

You’ll need to store the created task’s sys_id into a variable using the “Create Task” output — usually activity.result holds the sys_id of the created record