Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Create Task activity in workflow is not creating task

Nithin21
Tera Expert

 I want Change task to be auto-assigned to assignment group selected in Change Request

 

I have added User approval to "Change Request - Normal" workflow

Once approved, there is a Branch task that leads to 2 "Create Task" activities. 

>> Wait for Completion is set to True

When I approve the change request ->Both the "Create Task" activities are in "Running" state

Expected result:
2 change tasks created for this change request

Assignment group is set as that of change request

Actual result:

Change task is not created . 

find_real_file.png

Script mentioned in both "Create Task" activity

find_real_file.png

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

Can you check type of task you have in each activity.

find_real_file.png

View solution in original post

9 REPLIES 9

Mike Patel
Tera Sage

There is such field called created_from in OOTB instance. if it's custom field than you need u_created_form.

Mike Patel
Tera Sage

Can you check type of task you have in each activity.

find_real_file.png

Hey Mike, Task type is pointing to table change_task

Problem started after I added Approval user activity Even after user approves change shows "awaiting approval" Without approval user activity tasks are genearted