You are viewing limited content. For full access, please sign in.

Question

Question

How to retrieve document properties with workflow

asked on April 17, 2014

 How can I retrieve "CreatedBy" and other document properties using workflow?

0 0

Answer

SELECTED ANSWER
replied on April 17, 2014

As of Workflow 9.1, the Find Entry, Find Entries, and Search Repository activities now all have the option to include Additional Properties (such as Created By) as tokens.

 

 

2 0

Replies

replied on April 17, 2014 Show version history

Travis,

 

I know LF has enhanced some of the workflow activities to return extended document properties but I think the easiest way to return any any of the entry properties is with an SDK Script activity.  Here is a single line code snippet that will return a string token called 'Creator' for the entry that is bound to the script.  (Note: This is a 9.11 script using RA.  If you need an example using LFSO let me know)

        Protected Overrides Sub Execute()

            SetTokenValue("Creator", Me.BoundEntryInfo.Creator)

        End Sub

Any entry property that is exposed in the object model can be returned as a token.  If you have access to the SDK documentation you can review those other properties.  (Or if you are familiar with the intellisense feature in the SDK script activity you can browse the exposed properties there)

0 1
You are not allowed to follow up in this post.

Sign in to reply to this post.