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?
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?
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.
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.
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?
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.
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.