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

Question

Question

Workflow Invoke Business Process/Set Business Process Variables (Attachments)

asked on February 25, 2022

Hello,

 

Currently, I am trying to run a workflow that retrieves variables from one business process form and tries to invoke/start another business process form.  I am able to retrieve the attachment from the first form but can't upload it to the second using invoke or set business process variables. Does anyone know a workaround or am I doing something wrong?

 

Any advice would be appreciated.

 

0 0

Replies

replied on February 28, 2022

Hi Danton

In the Invoke Business Process are you mapping your Token values to the new forms variables (field)?

Under the Token picker, choose the Variables which will show the fields you have available on the new form as you defined under the Fields section of the Invoke Activity, and then set it's value using the = to the aproppriate workflow tokens 

0 0
replied on February 28, 2022

Hello Steve,

 

Thanks for your response.

 

Yes, my workflow works fine for everything except attachments. I can retrieve the attachment from the first form when retrieving Business proces variables.

 

But when trying to set or invoke the attachment it will not let me. Invoke Business Process or Set Business Process Variables doesnt have attachments listed as a variable you can select, hence why I am looking for a work around or if anyone knows a better solution. 

My current solution is email the attachment to the next person in charge of the process to manually upload it... 

 

Any advice would be appreciated. 

0 0
replied on February 28, 2022

Hi Danton

Sorry, I had missed the detail about the "attachment" in your original post

Yes, there is not a way to push a file into the upload button of the new form

Typically I would save the attachment to the Repository, then pass the URL of the file back to the new form and have the document appear in a custom HTML field as an iframe.

 

0 0
replied on February 28, 2022

In the HTML field put the following in the HTML pane. The /dataset/invFrame would be the field on the form that contains the URL passed from your workflow

<iframe id="myframe" src="{/dataset/InvFrame}" width="100%" height="600px"></iframe>

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

Sign in to reply to this post.