Create list item at any site

by fyang » Tue Nov 10, 2015 11:45 pm

Hello
I am trying to create a new list item in a separate site, I've entered the following data in the properties:
Folder URL:[%Current Item:SiteURL%]/Project%20PO%20List
SiteUrl: [Current Item:Site URL%]
ThrowError: Yes
List Url: Project PO List
Properties: Variable:PO List Properties

But I keep getting the following error when I try to run the workflow:
Exception: Value does not fall within the expected range.

Note: 'Current Item: Site URL' stores the url which the target list resides in, 'Project PO List' is the title of the target list, and 'PO List Properties' is a dictionary containing two items:
Capture4.JPG
Capture4.JPG (32.17 KiB) Viewed 507 times


Any thoughts? thanks in advance~
Fan
fyang
 
Posts: 3
Joined: Tue Nov 10, 2015 9:52 pm

by Roman Rylov » Thu Nov 19, 2015 12:35 pm

Hello Fan,

You don't need to fill in all parameters.
Please see example below, it creates a list item on sub site called Clients
CreateListItem.png
CreateListItem.png (5.61 KiB) Viewed 493 times

CreateListItemProperties.png
CreateListItemProperties.png (11.26 KiB) Viewed 493 times
User avatar
Roman Rylov
 
Posts: 335
Joined: Tue Nov 11, 2014 6:25 pm


Return to Workflow Actions Pack for Office 365

cron