Hi,
We have a Workflow that generates an email and custom URL which directs applicants outside of our K2 environment to a K2 Form. This StartProcess Workflow which generates the URL also passes parameters about the specified applicant. When they open their K2 Form via email link the application Form has a section/view for the K2 Add Attachment Smart Object. To add and attachment, you need the Process ID and file/attachment to create the attachment.
With that, this form doesn’t have a Process ID as it doesn’t reside within a Workflow, so upon submission of the Form when we try to start the sequential Workflow which would have managers tasks that would want to view their attachments, it’s not working. “The service account doesn’t have access to the process” is the error we are getting. I’m assuming because the applicant Form isn’t within a Workflow/process so it doesn’t know where to store the attachments.
In an attempt we have tried to pass the WorkflowID/Process ID through from the first Workflow (StartProcess) via URL for the Add Attachment Process ID parameter on the Application Form. To then return the ID from the creation to then pass as a paramenter in the next Workflow. In hopes to then get the Attachments via Attachment ID passed to the workflow and through the Get Attachments call. However this doesn’t seem to be working as intended.
The main issue here is that these end users (applicants) don’t have K2 accounts and can’t be assigned Task like a normal Workflow. So our email which has the Form URL then starts the next Workflow via rules. Is there a way to Add Attachments from the Form which doesn’t have a WorkflowID/Process ID?
I can elaborate more if needed, but that is high level of what is happening in our process.