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

Question

Question

Reply to a Request in Workflow

asked on May 23, 2015

Hi Everybody,

 

Please can you help, this is my scenario : 

I have to create a reply to a request using document relationship to link both. What I want to know is if there exist any activity to search all documents linked to an entry and populate the information into a field?

 

Thank you

0 0

Replies

replied on May 25, 2015

Hi Ketsia,

You can use an Script SDK  to get the information of the documents are linked, in the following code get access to information of each document is linked:

 

        Protected Overrides Sub Execute()
              dim objListLinks as EntryLinkCollection
              dim strNameLinks as String
              objListLinks=  BoundEntryInfo.GetEntryLinks(true)
              for each objLinkInfo as EntryLinkInfo  in objListLinks
                    dim objDocument as DocumentInfo = Document.GetDocumentInfo (  objlinkinfo.TargetId,RASession)
                    strNameLinks=strNameLinks + objdocument.Name + ", "
              next
              SetToken("LinksInfo",strNameLinks)
        End Sub

 

The information for each document you want to send to a field it can be stored in a token, and then a workflow activity update the field into another document.

Attach the workflow, please rename the extension TXT with WFI ( Demo - WF Enlace SDK.wfi )

I hope you help.

 

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

Sign in to reply to this post.