Here is a little Holiday treat for everyone.. The Nintex Web Service I still believe is a little golden nugget rarely utilised.. I was presented this issue the other day from a prospective customer, and I thought "yeah I can do that"
The idea was that in Nintex Forms the customer wanted to display the workflow audit history. EG
|Display Name||Activity Title||Outcome||Start||End||User Comments|
|Dan Stoll||Assign Flexi Task||Pending||3:40 PM 23/12/2014|
|Eileen Tan||Assign a Flexi task||Completed||3:39 PM 23/12/2014||3:40 PM 23/12/2014||(Eileen Tan) testing|
Inside the form.
So without waffling to much here is a screenshot of the UDA and please find attached at the bottom.
The main element is calling the Nintex Webservice method 'GetWorkflowHistoryForListItem' . and then using the 'Call Web Service' action to drill into the XML results to pull the information you need into Collection Variables.
Once you have all this info you can use the same technique as you do to build a nicely formatted table for emails as posted here Formatting Results to an Email .
The final result looks a little like this when the output of the UDA is set to a Rich Text box and then connected as a label in Nintex Forms
Please note that the Webservice call action will require the correct credentials added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.