HI all
I have a Workflow that Documents move through, with a few States such as 'Placeholder', 'Approved', 'Accepted', 'Handed Over'
I have a Property called 'Document States' which is 'Choose from list "Workflow States" (multi select)'
I want to write the current workflow State to the Document, whenever it moves through the workflow, so the property will gradually hold a list of all the states that a document has been in
So if the doc started as Placeholder state, then 'Document States' property should show just that one
If the doc then moves through Placeholder, Approved, Accepted, then 'Document States' property should show all 3 of those states
If the doc moves back to Placeholder state, the 'Document States' property should still show the same 3 as before (it shouldn't show Placeholder twice)
I'm then going to hide that property, but allow users to search by it, so they can use Search Filters on the property to find a document that was previously 'Accepted', even if it is currently back in the 'Placeholder' state
I've been trying VB script in the workflow, I know I likely need SetValueToMultiSelectLookup but don't know really how to tackle it
Its possibly similar to this: community.m-files.com/.../7719 and/or this community.m-files.com/.../10343
Could any one help, or suggest a better alternative approach to achieve the same thing?
Many thanks