How to use "Script action" with "Event registory" triggered by "Create event", Flow designer.

YOSHIAKIMI
Tera Contributor

Hello, i want to interface from ServiceNOW detail record table to SAP by BAPI.

User make detail table in tickets and ServiceNOW I/F for SAP after their approval or any processing.

 

To reduce duration time, interface for SAP should be parallel process.

then i would like to use "For each" for detail records in Flow designer and kick the "Event registory" and "Script action".

 

<Flow designer>

 -> ”For each” for detal records table

  -> create event A for all detail records(with ticket sys_id@record, detail record ticket sys_id@Parameter1 )

 

Event registory

 Event registory A (receive ticket record sys_id@record,  and detail record ticket sys_id@Parameter1)

  -> "Script action" B *

 

*but we cannot receive any info in "*", both gs.info(record.sys_id and param1) are displayed "undefined".

 

how to use arguments from create event...

0 REPLIES 0