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

Question

Question

Workflow 9.0.2 script - how can I get properties of found documents?

asked on April 22, 2015

I'm trying to write a script to get properties of documents found within the workflow.
I can get the properties of the bound entry easily enough:
 * CurrentEntryCreator = me.Entry.CreatorName

but can anyone show me how to get information on an entry that isn't the bound one?

something along the lines of:

1. dim theCurrDoc as object (or does it need to be something specific?)
2. dim CreatorOfCurrDoc as string
3. theCurrDoc = Entry(ForEachEntry_CurrentEntry_ID)
4. CreatorOfCurrDoc = theCurrDoc.CreatorName

It's line 3. that I can't work out the correct syntax for.

(Also, can anyone point me to SDK script resources? The help files I can find are very basic and don't have any click-throughs to more detailed reference or examples.)

0 0

Answer

SELECTED ANSWER
replied on April 22, 2015

I take it you're running this script inside a For Each Entry loop? Why not bind the current entry to the script so it is the one in me.Entry?

1 0

Replies

replied on April 23, 2015

Ah, didn't notice that option! That's perfect, thanks!

John

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

Sign in to reply to this post.