SharePoint List Item Attachments and AP workflow
Hi, I'm trying something new to me... I created an AgilePoint workflow that is connected to a SharePoint list and runs when a new list item is created. I have all that working fine.
I want to add a condition inside my workflow that is based on if the list item has any attachments (so do step A-B-C if there is an attachment otherwise do step D-E-F).
I'm not seeing anything regarding an attachment in my datasource. Is there a way that the workflow can tell if there is an attachment?
Thanks!
v7.0
-
Hi Gwen,
You can use CAML Query activity to check if the list item has attachments or not, in the CAML query activity add Attachments field in Configured View fields and configure the activity by setting the required condition and also do the mapping of attachment field with a process/form variable, it would return the count of attachments when the activity will execute.
After CAML query activity you can use a condition activity to check if the attachment count is > 0 or not and based on that perform the next steps.

Thanks!
請登入寫評論。
評論
1 條評論