- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 07:01 AM
I am trying to use flow designer to create a flow to trigger a script include. How can I do this?
ultimately a user requests a report for a specific building & date range. Once they click submit I need a report sent to them. My thought was once they click submit a flow associated with the catalog item would call the script include to send them the report.
var scriptInclude = new amcOnDemandReport();
var trigger = scriptInclude.updateReport(current);
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 07:09 AM
Hi,
You can create a custom action if you want to house this or just use a script step and execute the code as needed.
You can associate this flow to the catalog item, or call it as a subflow, etc.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 07:09 AM
Hi,
You can create a custom action if you want to house this or just use a script step and execute the code as needed.
You can associate this flow to the catalog item, or call it as a subflow, etc.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 09:16 AM
What would I use for inputs and outputs?