Flow Designer - How to use the sc_req_item table as trigger?

Leandro Oliveir
Tera Contributor

Hello everyone,

 

I need to use the sc_req_item table in the Record Updated trigger to automate a process in flow designer. However the table does not appear in the field. How can do I get this?

 

Trigger.png

 

 

 

 

 

 

 

 

 

Regards,

Leandro Oliveira

2 ACCEPTED SOLUTIONS

Laszlo Balla
ServiceNow Employee
ServiceNow Employee

Unfortunately you can't, because the only available trigger related to requested items is the 'Service Catalog' one. However, you can call your flow or subflow using the FLOW API from a business rule which can run on update of a record in the sc_req_item table.

View solution in original post

Peter Bodelier
Giga Sage

Hi @Leandro Oliveir,

 

You can't. Flows on req_item can only trigger by choosing trigger Service Catalog.
If you really want to do something in a flow on sc_req_item, you could use a subflow, and trigger it by a business rule.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

6 REPLIES 6

Patricio Javier
Tera Contributor

PatricioJavier_0-1704997782020.png

Trigger -> Task -> Task type Requested Item

kkingsle
Tera Expert

If the use case supports it, you can trigger off of sc_task and navigate to the request item to get variables, etc. as needed.   In my use case, the driver was the requested item was approved, which also means the first task is created.  So having a trigger of "sc_task created" (with appropriate filters to the proper catalog item and/or task assignment, etc.) will allow you to use a flow not a sub-flow.