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

Question

Question

Get entry id of right clicked file in repository

asked on October 18, 2019

Is it possible to pass entry id of a file to a business workflow  by right clicking it and selecting a business process in the repository?

 

0 0

Answer

SELECTED ANSWER
replied on October 18, 2019

No problem Victor. I don't really understand why you wouldn't have the business process work on the starting entry and begin the workflow with a "Retrieve Field Values" activity pointed to the starting entry. You would not have to have a "Search Repository" activity for this to work. Would this work for what you are trying to do?

I'm not aware of a way to pass template data to a business process from the client without passing the entry itself. If you don't want to modify the entry, you don't have to in the workflow. You can use the entry as a starting entry, pull the template data from it, and just use the data in your workflow if you want. I can't think of an issue with doing that.

1 0

Replies

replied on October 18, 2019 Show version history

To start a business process off an entry, simply right click it and select "Start business process..."

The Entry ID of the starting document is a globally available variable in a business process. If you want to use it, you can find it in the "Global" portion of the token selector / token dialogue.

1 0
replied on October 18, 2019

Brian thank you for your response, what I am trying to pass the Entry ID to the business process without having to search for it. 

We have a lot of documents in a folder and want the user to right click on any random document and run a workflow that will get the get the template data from that particular file. Do you think this is possible?

0 0
SELECTED ANSWER
replied on October 18, 2019

No problem Victor. I don't really understand why you wouldn't have the business process work on the starting entry and begin the workflow with a "Retrieve Field Values" activity pointed to the starting entry. You would not have to have a "Search Repository" activity for this to work. Would this work for what you are trying to do?

I'm not aware of a way to pass template data to a business process from the client without passing the entry itself. If you don't want to modify the entry, you don't have to in the workflow. You can use the entry as a starting entry, pull the template data from it, and just use the data in your workflow if you want. I can't think of an issue with doing that.

1 0
replied on October 18, 2019

Victor

What Brian is trying to tell you is that when you start a workflow from the client through a business process, the business process uses the currently selected entry as the starting entry for the workflow.  So you do not need to pass an EntryId and try to find the entry since it will already be associated with the workflow as the starting entry.

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

Sign in to reply to this post.