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

How can we get these two options complete and incomplete in Catalog task

Srinivasu2
Tera Contributor

Hi Community,

 

How can we get these two options complete and incomplete in Catalog task 

 

instead of one transition line.

 

Please find the below screen shorts for your reference, one is complete and incomplete screenshot and another one is one transition line

 

thanks in advance

 

Regards

Srinivasu Sagiraju

 

Regards

Srinivasu Sagiraju

 

6 REPLIES 6

AnveshKumar M
Tera Sage
Tera Sage

Hi @Srinivasu2 ,

 

1. In the Catalog Task activity configuration form configure the task fields as required and save. Then, under related links click on "conditions". 

AnveshKumarM_6-1694782846475.png

This will bring up the following form.

 

AnveshKumarM_0-1694782454854.png

 

2. Click on "New" button and configure the condition for "Complete" as below.

Name: Complete

Condition Type: Standard

Condition: activity.result == 'Closed complete'

and submit the form.

AnveshKumarM_1-1694782511519.png

 

AnveshKumarM_2-1694782534581.png

 

3. Again Click on "New" button and configure the condition for "In Complete" as below.

Name: In Complete

Condition Type: Else

and submit the form.

 

AnveshKumarM_3-1694782677613.png

 

4. Now you can see two conditions 

AnveshKumarM_4-1694782700713.png

5. And here you got the two lines.

AnveshKumarM_5-1694782785473.png

 

 

 

Thanks,
Anvesh

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

 

Right click on the activity and 'Add Condition'

AnuragTripathi_0-1694782826437.png

 

AnuragTripathi_1-1694782881032.png

 

-Anurag

Vijay Balotia1
Tera Guru

Hi Srinivasu,

 

OOTB we dont have stage field on sc_task table, generally we map state filed and ideal based on sc_task state RITM stages are set, lets say if any of your task is closed incomplete the RITM stage is set to Close Incomplete, or if all task are closed complete then RITM stage is set to close complete.

But if you have any custom field or sc_task table and you want it for specific catalog or you are using any generic task workflow and you can your use set action workflow activity or any run script as well. its will depend on how your current workflow is setup.

Also you can write Business rule to sync both the field when RITM stage is updated you can update sc_task stage of respective task.

 

 

Thanks,

Vijay Balotia

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Thanks
Vijay Balotia

Hi @Vijay Balotia1 ,

Right click on your ScTask activity to add a condition and refer the below codes for respective states.
Complete : 

activity.result == 3

Incomplete or Skipped: 

activity.result == 4 || activity.result == 7

 

Venkatesh_N_0-1694783617427.png

Venkatesh_N_1-1694783629194.png


Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks,
Venkatesh Nekkanti