0 Show Workflow Attributes on a Report 2 Derek Mangrum posted 9 Years Ago I am working on creating some additional Facilities Requests for our Facilities teams to handle work orders. I have copied the provided Facilities Request Workflow and am making the needed changes. One thing I am looking at is how my Facilities manager can get reporting data on work orders. So, I have been looking at Data Views and Reports. I am not finding a way to view Workflow Attributes on reports. They aren’t showing up of the ‘fields’ lists or anything. I am suspecting they might be available via some lava-fu… but my fu is weak! :-) As a work-around, and by work-around I mean I asked Nick A. and he did it for me (Thanks, Nick!!), we added a Run SQL action to save the ‘Work Order Description’ attribute value into the Workflow’s “Description” property. UPDATE [Workflow] SET [Description] = '{{Workflow.Details}}' WHERE [Guid] = '{{Workflow.Guid}}' Some things to note: The ‘Persist Workflow’ action in the ‘Request’ activity had to be set to ‘Persist Immediately’. This is because we need a Guid (or Id) to reference in our SQL. Then, the last action in the ‘Request’ activity is our ‘Run SQL’ action. Now, I can just add the Description field to my report, and I got what I need. Luckily, for this particular case, I had a nicely-unused database field that I could stuff my description in to. This certainly is a unique case. The database doesn’t have a bunch of unused fields, just waiting for me like this with other data I may want in a report. So, it would be great to have a way to get these Workflow attribute values on to a report. If anyone has a Lava-based solution, that would be cool. Or, maybe this is (can/should be) a feature request? Lastly, I realize this is similar to this question. But, I thought it was different enough (or newer enough) to warrant a new post. If not, let me know.
Derek Mangrum 9 years ago Yeah, that's it! :-) Hopefully it in on the list of things to implement. I would be a great feature.