Change Task is not getting created in the change created from custom table

H M Aishwarya1
Tera Guru

Hi,

 

I have created the new workflow for custom table, In the new workflow i have added activity for create task and the type of the task is 'change_task'. Still the change task is not getting created. In the workflow activity the task state shows as Running 

 

HMAishwarya1_0-1746617213327.png

 

HMAishwarya1_1-1746617412611.png

 

 

Any suggestion would be helpful.

 

Thank you.

1 ACCEPTED SOLUTION

@H M Aishwarya1 

Sorry it seems you didn't check my previous response.

Since you enabled that checkbox Wait for completion the activity will be in running state until the task is closed

If you don't want to wait then uncheck that checkbox

Please discuss with your customer

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

12 REPLIES 12

Swapna Abburi
Mega Sage
Mega Sage

Hi @H M Aishwarya1 

"Create Task" workflow activity works only if your custom table is extended from "task" table. If not, you can try to use "Run Script" activity to create a change task.

Ankur Bawiskar
Tera Patron
Tera Patron

@H M Aishwarya1 

it will wait until the task is closed and hence shows as running. once task is closed it will proceed.

You have enabled that checkbox "Wait for completion", that's the reason

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Is there any alternative way to create a change task via workflow for a custom table.

As I mentioned in my reply, you can use “Run Script” workflow activity to create a change task.