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

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.

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.

Elijah Aromola
Mega Sage

Laszlo is correct. You could always create a subflow and call it from whatever flow is running for your catalog item. If this isn't an option then a business rule/other logic to trigger your flow/subflow is the best option. 

Ancia
Tera Expert

If you want the flow to work for certain catalog items, then you need to provide the flow name in the catalog item.

Trigger can be Service catalog only.