Storing a file in a work queue item

GatesV

Member
Good day BP Gurus!

I am currently developing a process that handles a PDF file at various stages of the process which is being put on pause for human interaction and then resumes, using the work queue items Status to determine where it left off and the next steps to carry over. Because these different phases of the process all relate to a specific PDF file, I'd like to store that file in the work queue so that I can get it back at these various phases of the process. This would ensure I don't have to store the file in a temp folder during the whole duration of the process, which could take a few days to complete.

My questions are:
1- Is it possible to store a file in a work queue item?
2- Considering these files can take up to 200 kilobytes, will there be a space issue over time or are these files removed from memory when the work queue item is deleted?

Thank you for your input.

Your help is much appreciated.
 
Last edited:

gil.silva

Active Member
Hello GatesV,

1 - Yes, you can store the file in a Binary data item.
2 - Once you delete the queue item, it will remove the file as well, if it's stored there.
 

GatesV

Member
@gil.silva

That's what I thought the Binary data item was used for, but how do you store it there? What's the object and action?

Thanks in advance
 
Last edited:
Top