Hey everyone
I am trying to build a flow to add an attachment to the Approval entity in Common Data Service AFTER the approval has been created.
I already have a flow that will create the approval with the attachment when there is an attachment at creation, see two screenshots below:
The issue is that sometimes an approval is created with no attachment. Users will upload an attachment after the approval has already been created. My goal is to update the approval record with the attachment.
The flow is pretty basic - see screenshot below:
1. gets triggered when there is an attachment
2. check if approval is still active
3. upload attachment to CDS.
The issue is that there is no field for name and content.
How do I go about updating the record? Is there a different entity that stores the attachment for the approval?
Thanks!