Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
I am using trying to pass httpResponse.result in one of the expression rule .. in script task
rule!OIT_getTransactionDetails(
httpResponse:ri!httpResponse.result,
activeStatus:ri!status
)
But it returns Error like Invalid index: Cannot index property 'result' of type Text into type HttpResponse.
I know its casting issue , tried with index function also but it returns null then .. not the values which i want to retrieve
Discussion posts and replies are publicly visible
If this is the code going into your script task, you would not write "ri!httpResponse" in the first place. If your httpResponse has been stored in a PV by a previous node, then you'd write "pv!httpResponse" here. If your httpResponse is coming in via some other method you haven't specified, then we need more information before being able to suggest much. But the "ri!" prefix is only for use inside a rule or expression, and will not be valid if called directly from a process model expression editor box in any context.
Actually i got the Solution ,Problem was with Data .. Thanks Guys for support