Skip to Content
0
Former Member
Aug 18, 2014 at 02:56 PM

Processes&Forms: Background scenario step

73 Views

Hello,

I have been requested to develop a process to generate employee's certificates, basically with following flow:

1 employee selects a certificate (advanced backend service that can show additional criteria based on certificate selected) - done

2 system selects the certificate template (smartform) and generates PDF - done

3 attach PDF to process as an attachment⚠️

4 send email with attachment and process details ⚠️

for point 3, i need to attach the PDF to a process. I thought about 2 solutions:

- create a step in same scenario for attachment - but then i need this step to be concluded in backend of workflow (no dialog)

- create a specific scenario for attachment generation - same difficulty as above

basically i need to know how to conclude a scenario step programmatically by adding an attachment to that step.

Thank you in advance for any suggestions.

Regards,

Carla Sousa