Integration call in expression rule returning "Smart Service" in response instead of the response body which is a dictionary.

Integration call in expression rule returning "Smart Service" in response instead of the response body which is a dictionary.

Please advise how to get the httpbody from httpresponse for an integration result. Below is the expression rule.

with(
local!result,
local!error,

rule!GetToken(
onSuccess: a!save(local!result, fv!result),
onError: a!save(local!error, fv!error.Message)
)

)

  Discussion posts and replies are publicly visible

Parents
  • Hi Anusha002s,
    Please follow the below link we can see that the Integration object which modifies the data cannot be used in Expression Rule.
    If you want to call it then you need to go with, Interface Component Save into paramenter, Web Api or Integration smart service in Process model.
    docs.appian.com/.../Call_an_Integration.html

    What is your requirement?

    if you want to do some modifications on the result that is obtained from integration object then please use it in SAIL Save Into Parameter and use onSuccess Parameter to store in the local variables. Pass that local values to an expression rule and perform your modifications and get the result from an expression rule.

    The above link gives you good idea how you can use it in SAIL.
    Hope this helps.
Reply
  • Hi Anusha002s,
    Please follow the below link we can see that the Integration object which modifies the data cannot be used in Expression Rule.
    If you want to call it then you need to go with, Interface Component Save into paramenter, Web Api or Integration smart service in Process model.
    docs.appian.com/.../Call_an_Integration.html

    What is your requirement?

    if you want to do some modifications on the result that is obtained from integration object then please use it in SAIL Save Into Parameter and use onSuccess Parameter to store in the local variables. Pass that local values to an expression rule and perform your modifications and get the result from an expression rule.

    The above link gives you good idea how you can use it in SAIL.
    Hope this helps.
Children
No Data