How to create a child catalog task from Catalog Task via workflow?

The Matrix
Tera Contributor

Hi All,

How to create a child catalog task from a catalog task via workflow. When a subcategory of a primary catalog task is changed to L2, it should close the current task and create a new child catalog task to the primary catalog task. How do I achieve this? 

Thanks!

TheMatrix_0-1782111560518.png

 

3 REPLIES 3

rahulkoheda
Tera Contributor

Hi @The Matrix ,

Could you please provide a bit more detail on where you're currently stuck?

Specifically

  • Have you already implemented the logic to detect when the subcategory changes to L2?
  • Could you clarify when you want the system to evaluate the subcategory change? Should it monitor the Catalog Task and create the child task immediately when the subcategory changes to L2, or should it check after 1 day and then create the child task if the subcategory is L2
  • Are you facing issues with creating the child Catalog Task, relating it to the parent task, or closing the current task?

A brief overview of your current implementation and the specific challenge you're encountering would help the community provide more targeted guidance.

Hi @rahulkoheda Yes, I have already implemented the logic for subcategory changes to L2 and creating new catalog task using catalog Task activity, but the requirement is to create a child task on a originally created task not a seperate task on RITM. 

Tanushree Maiti
Tera Patron

 

Using Run script ,

  • Close the existing SC_task 
  • Create the SCTASK using script. ,
  • Assign it to proper assignment group
  • Add duration ,so that task_sla gets generated for the task.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti