Workflow stuck after task creation.

Community Alums
Not applicable

Hi Team,

 

The workflow stuck after the task was created. Below is the script I have used in the Task core activity

It shows running only.

 

task.short_description = 'Automatic MS TEAMS Team Creation';
        task.x_adac2_fre_last_transaction_id = current.x_adac2_fre_last_transaction_id;
        task.x_adac2_fre_last_transaction_name = current.x_adac2_fre_last_transaction_name;
        task.x_adac2_fre_last_transaction_for_integration = 'MSTEAMS';
        task.x_adac2_fre_last_transaction_direction = 'OUTGOING';
        task.x_adac2_fre_last_transaction_time = current.x_adac2_fre_last_transaction_time;
 
for reference we have attached screenshots
SivanandaReddy_0-1714023292052.pngSivanandaReddy_1-1714023324282.png
 
Can you please help me why the workflow at task 
Thank you
Siva
1 ACCEPTED SOLUTION

Abhit
Tera Guru

@Community Alums - Check if you checked the "Wait for completion" option. which would wait for the sctask to be completed and activity status would be shown as running until the task is not completed.

 

Abhit Singh

View solution in original post

4 REPLIES 4

Abhit
Tera Guru

@Community Alums - Check if you checked the "Wait for completion" option. which would wait for the sctask to be completed and activity status would be shown as running until the task is not completed.

 

Abhit Singh

Community Alums
Not applicable

Hi @Abhit ,

 

Thank you for your quick response,

I have checked checked the "Wait for completion" option

 

SivanandaReddy_0-1714025231644.png

Is it unchecked if i want move the next step?

Thank you

Siva 

@Community Alums  - if the wait for completion is checked then system will wait for the task to be completed and if you use case is to just create and execute the next activities then you need to uncheck the option.

 

If my answer helps then please mark it Correct and Helpful.

 

Abhit

Community Alums
Not applicable

@Abhit ,

Thank you. It works as expected