Other attachments - pictures from a child table

Hello,

I want to add attachments from a child table.
I have this expression in the Other Attachments field:

SELECT(StopDocs[Photo],[Stop]=[_THISROW].[ID])

2X_4_450b431af01411c2038f517717f855660ea0b551.png

Run the test and all is working:

2X_0_0de7600efa8e762f0277725e534a89df8bfe2ddf.png

And still, the email comes without any attachments.

What am I missing?

Thanks!

Solved Solved
0 3 377
1 ACCEPTED SOLUTION

Found the problem:
After reading some other posts, I have realized that the child record addition happens only after the parent record is saved.

So when the workflow is triggered, the child record is not yet available.

The formula:
SELECT(Child Table[Photo],[Reff Column]=[_THISROW].[ID])
in the Other Attachments, works but I have not yet got to that point where it happens in one go.

The solution I have so far:

I add the Parent, then

I have 2 actions on the Parent table
1. add the Child
2. change status column to trigger the workflow.

This way, an unlimited number of children records can be added and the workflow will be triggered manually

View solution in original post

3 REPLIES 3

Check the Log file to see if there were any errors reported for that Workflow. Youโ€™ll find the Log button at the top of any Workflow definition that you open.

2X_9_91eeb3447b7ea0f028b1407b760633c1139a5ba4.png

The workflow was successful but EmailOtherAttachment is blank

Found the problem:
After reading some other posts, I have realized that the child record addition happens only after the parent record is saved.

So when the workflow is triggered, the child record is not yet available.

The formula:
SELECT(Child Table[Photo],[Reff Column]=[_THISROW].[ID])
in the Other Attachments, works but I have not yet got to that point where it happens in one go.

The solution I have so far:

I add the Parent, then

I have 2 actions on the Parent table
1. add the Child
2. change status column to trigger the workflow.

This way, an unlimited number of children records can be added and the workflow will be triggered manually

Top Labels in this Space