Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Cant access attachmentVar when form is submitted

Paulo_BR
Level 1
Level 1
Hi,

I'm tring to access the attachmentVar in my workflow, but no sucess.

I tried to declare the variable as a list of documents but without success.



Any suggestions??
5 Replies
_flexairlr1_
Level 2
Level 2
When your user submits the form, is the user submitting the attachments from starting the process or is the user participating in the process (an Assign Task operation in the process)?
Paulo_BR
Level 1
Level 1
The user is submitting the attachments from starting process.
workflowuser
Employee
Employee

Hi Paula

You can check out m blog entry

http://eslifeline.wordpress.com/2008/04/21/getting-attachments-out-of-a-task/

This has an component to extract attachment out of a given task id. For your use case you will need to use TaskCreated event to start an process

In the event data there is taskID ,once you get the taskid you can extarct all attachments associated with the task

let me know if you have any more questions

thanks

girish

waqas_rehman
Level 2
Level 2

Hi,

If you are using workspace to initiate a process with some attachments. Then you have to do the following in the User Action:

(a) select the "show attachment window to this task"

(b) select "copy notes and attachments from previous task"

In case of some other custom applications you have to post the full PDF document to the process then extract the data from the PDF document and using assembler service to extract the attachments from the PDF document.

Regards,

Waqas