Monday 10 March 2014

Add item to list then add new item to same list using workflow

Add item to list then add new item to same list using workflow
Open K2 Stduio
Create new project, add New SharePoint process
From process helper from SOlution
Drag "Start when new item created" on start
Select SharePoint site and list
Add new activity NAme it: Update List
Select "SharePoint list items" from event wizard
drag and drop on update list activity
Click Next
Select create list item option
select SharePoint URL
Select List Name, which you want to update the column
Next
Update metadata of Title
Ex: i will set it "Fisrt"
Now i am going to insert new item in the other list
Drag and drop SharePoint list items from event wizard"
Click Next
Select "create list item" option
select SharePoint URL
Select same list name
Select List Name, which you want to update the column
Next
Update metadata of Title
Ex: i will set it "Second"
After completion of workflow i will see 2 rows in the list
First
Second