cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to retrieve actionable message content without OData "coding"

Jump to solution

Hello fellow Nintexers.  I am starting to work with actionable messages in O365.  Specifically, I want to pull the message from the task list into my main form.  The problem is, if I don't do a Regular Expression trimming and Get Item from Collection, I get something that looks like this - [{"OData__Comments":"Have a nice time"}].  If I add these actions to get a nice looking "Have a nice time." and the user doesn't actually enter anything into the Actionable Message, the WF terminates because "Index property is greater than the number of items in the collection."  How have you all dealt with this issue.  It would be great is the Query list action just dropped off the "[{"OData__Comments":" stuff, but I'll be happy for now with the added functionality.

Reply
1 Reply
Workflow Hero

Re: How to retrieve actionable message content without OData "coding"

Jump to solution

I figured out the solution to my problem and wanted to share if other have the same issue. In the Query List action, if you select "Separate output per column" you get a collection variable filled with [null] instead of [{"OData__Comments":"null"}].  You then don't need a "Regular Expression" trimming action and your "Get Item from Collection" action just coverts the [null] to an empty string.  No erroring out.

0 Kudos
Reply