How to Trigger the flow designer when the service request is submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2022 04:43 AM
Hi All,
I have designed a flow designer, this should get triggered when we submit the service request,
Note: The Flowdesigner will send Rest API to the third-party application to get some information.
kindly assist
regard,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2022 11:29 PM
Hi Olan,
We have an existing service request, and we are not supposed to make any changes in the workflow so the approach we have created a flow designer and it will get triggered when the request is submitted, upon submission, the API will get triggered with the help of flow designer and based on response to (Yes, boolean) the rest of the workflow in service request will run.
From the solution standpoint, I have created a flow designer and the trigger point will be a catalog item, however, I am just wondering how can I trigger the flow designer based on the specific catalog item? do I need to use the sys id in flow designer?
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 12:41 AM
I'm not sure if I follow your reasoning.
But one thing I can say for sure. The trigger type "Service Catalog" in Flow designer is meant to be triggered when you submit a record in the table sc_cat_item (RITM).
By your response it seems you are only providing bits and pieces, so it will be hard to give a complete and good answer.
Instead of thinking in ways of "triggering the Flow based on a specific catalog item" you might consider creating a subflow, that you can trigger either from a Flow, or by script if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2022 04:48 AM
How to create subflow and where do I need to attach it? can you please guide me on it as I am new to workflow
The solution which you are suggesting, use subflow, We can do that, but I need guidance on the approach. i.e. where to create and how to attach, how to pass values from the main workflow to subflow and back to the main workflow from subflow, based on responses from other applications through API
====================
Details of my use case :
We have a business requirement to trigger API calls when we submit service requests (there are too many catalog items however we are only interested in one). Since the service request is existing, so we are not supposed to make any changes in the workflow however, to trigger the API, we are thinking about using the flow designer, so whenever the request will submit, the flow designer will get triggered and it will fetch the response from other application with the help of API. Based on the API response (Yes/No), it will execute the rest of the main workflow of the service request.
regards
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2022 09:24 AM
This thread is evolving to ask something completely different than your question stated from the start.
I would suggest you create a separate question and explain your complete business case from the start.
