Rest API call on change of catalog item variable.

manish62
Tera Contributor

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

2 REPLIES 2

Rajesh Chopade1
Mega Sage

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

manish62
Tera Contributor

 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.