How to use "Script action" with "Event registory" triggered by "Create event", Flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 01:34 AM - edited 04-24-2024 12:39 AM
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...