Create List Item in Different Site Collection

by jktodd007 » Sun Feb 05, 2017 7:44 pm

I am able to create an Item in a different site collection put I don't understand how to get the ID of the newly created item. I need to update the current list with the ID so I can link the two items together to keep the two items in sync.
jktodd007
 
Posts: 2
Joined: Sun Feb 05, 2017 7:41 pm

by Roman Rylov » Tue Feb 07, 2017 9:09 am

Hello,

Please right click on the workflow action and select properties. In the advanced properties you can find ItemId - this is ID of created list item
CreateItemReturnIDSample.png
CreateItemReturnIDSample.png (32.57 KiB) Viewed 343 times
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm

by jktodd007 » Tue Feb 07, 2017 1:47 pm

Thank you for the information but how do you then save that as a workflow variable so you can update the current list with that ID?
jktodd007
 
Posts: 2
Joined: Sun Feb 05, 2017 7:41 pm

by Roman Rylov » Tue Feb 07, 2017 2:16 pm

In example above ItemId is workflow variable, after execution the workflow action the variable will contain item ID
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm


Return to Workflow Actions Pack for Office 365

cron