Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
7749 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
How to interrogate a type "Reaction Tree"
steveb
over 7 years ago
I've created an expression rule to call a!startProcess(). When I run an adhoc test on it the output Type is "Reaction Tree" and Value is "Smart Service". Can someone explain how I interrogate the output as I want to be able to check the values in statusCode, response and responseMessage.
The expression rule
with(
a!startProcess(
processModel: cons!MONITORING_RESPONSE_WEBAPI,
processParameters: {
businessKey: "Test",
demandName: "Increment",
endDateTime: now(),
processRegistryId: 0,
serviceMonitorId: generateUUID(),
startDateTime: now(),
transactionUUID: generateUUID(),
userid: "Demand API",
webAPIName: "createDemandAPI"
},
onSuccess: a!httpResponse(
statusCode: 200,
headers: {
a!httpHeader(name: "Content-Type", value: "application/json")
},
body: a!toJson(
...
OriginalPostID-272911
Discussion posts and replies are publicly visible
Parents
0
steveb
over 7 years ago
@aloks176, thanks for your help :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
steveb
over 7 years ago
@aloks176, thanks for your help :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data