Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Case and Catalog task sync

ashu1612
Tera Contributor

I have a requirement where ,

1.)when a catalog task is closed the case associated with request should automatically closed.

2.) When a comment is added in case corresponding comment should flow to catalog task

3.) when case is closed corresponding catalog item , it request and catalog task should close

 

1 REPLY 1

ersureshbe
Giga Sage
Giga Sage

Hi,

I am uncertain about the actions you have taken on your side. However, I can outline the steps necessary to fulfill the requirement:

1. Introduce a new field in the sc_task form to capture the associated case number. Upon the closure of the task, implement a business rule that utilizes GlideRecord to update the corresponding case ticket.
2. The case table already contains a field for the request number. You can utilize this request number to create a business rule or use Flow Designer to update the comments in the scTask table.
3. Since the case already retains the REQ number, you can leverage this information along with a business rule to accomplish the task.

 

Regards,
Suresh.