Configuring attachment exists assertions
For flows and case types, you can verify that the flow or case type has an attachment of type file or note (attached using the Attach Content shape) or email (attached using the Send Email shape) attached.
On the bottom of the Definition tab, click Add expected result.
From the Assertion type list, select Attachment exists.
From the Attachment type list, select one of the following options, and then provide the value for each field:
- File: Select to specify that the attachment type is file,
and then enter the following values:
Description: Enter the text that was provided as the description in the Attach Content shape.
Name: Enter the name of the file that was provided in the Attach Content shape.
- Note: Select to specify that the attachment type is note, and then enter text that was entered as the note description in the Attach Content shape.
- Email: Select to specify that the attachment type is an email, and then enter the email subject that was provided in the Send Email shape.
- File: Select to specify that the attachment type is file,
and then enter the following values:
Repeat steps 1 through 3 to add additional attachment assertions.
- Optional:
To add a comment, click the Add comment icon, enter a comment, and click OK.
Click Save.
- Attachment exists assertions
On case types and flows, you can test whether an attachment of type file or note, which were attached in the Attach Content shape, or email, which was attached using the Send Email shape, exists.
Previous topic Configuring assigned to assertions Next topic Attachment exists assertions