Skip to main content
April 21, 2025
Question

getting process error a!fromJson: Invalid index: Cannot index property 'body' of type Text into type Text) (Logic Output) in appian

  • April 21, 2025
  • 2 replies
  • 0 views

Hi

Process was getting errored saying the error like a!fromJson: Invalid index: Cannot index property 'body' of type Text into type Text) (Logic Output) in appian in the output of node passing the logic like below 

tointeger(
index(
a!fromJson(
it was integration:rule!UIP_GetQueueItemBy(
OrgsUnitId: 100,
reference: ri!reference (type of rule input reference is text)
).result.body
),
"@odata.count"
)
) > 0

Kindly suggest on this for some instances it was working well for some it was erroring like above

2 replies

stefanhelzle0001
April 21, 2025

I assume there is more logic in this "rule!UIP_GetQueueItemBy" to make it return inconsistent data.

April 21, 2025

Thank you for confirmation

It was an integration with defining all connection, query parameter and filters details and response selected as Return raw response body