Rest API call on change of catalog item variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 06:18 AM
Hello Team,
I have one requirement to call the API when user put some value in one of the variable of the catalog item, what is the best way of achieving this functionality, can we use flow action since it will be low code solution.
Thanks,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 06:36 AM
hi @manish62
You can use an "OnChange" catalog client script that triggers when the user inputs a value in the variable. From script you can invoke a Flow Designer Action or directly calling an API.
Set up a flow using Flow Designer that gets triggered based on specific conditions (for example, when a variable value is set or changed).
You can use the built-in "REST API action" in Flow Designer to call the API once the variable meets the condition.
i hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.
thank you
rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 07:24 AM
thanks, could you please help me with an example or any existing functionality. When API send the response i want to show that response into that variable somewhere so that user would know it's successful or fail, how i would cater this part.