{{trouble_Ticket_API}}/troubleTicket/000
where inside the Raise Fault, I write as follows:
<Step> <Name>Raise-Fault-InvalidID</Name> <Condition>(id=000) || (id=c43c1e3f-94a8)</Condition> </Step>
When I hit the request with 000 as id, it works as 404 but when I hit for an alphanumeric ID< it brings me 200 as success .
For id=000,
it gives me the 404 response as below:
<RaiseFault name="Raise-Fault-InvalidID"> <DisplayName>Raise Fault-InvalidID</DisplayName> <Properties/> <FaultResponse> <Set> <Headers> <Header name="Content-Type">application/json</Header> </Headers> <Payload contentType="application/json"> { "errors": [ { "code": "404", "userMessage": "This ID had never existed in the server", "systemMessage": "Not Found" } ] } </Payload> <StatusCode>404</StatusCode> <ReasonPhrase>Not Found</ReasonPhrase> </Set> </FaultResponse> <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> </RaiseFault>
But this response doesn't open up for me for an alphanumeric ID.
Please assist where I could go wrong.
Can you clarify what you mean by this:
this response doesn't open up for me for an alphanumeric ID.
Can you show me a specific, actual request that you send, and also state explicitly what you expect to see, and what you are actually seeing?
hi @Harkaran Sidhu
Your Condition is wrong.
Try like this
<Condition>(id="000") || (id="c43c1e3f-94a8")</Condition>
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |