Sharepoint List Items - dynamically set number of items

  • 3 September 2009
  • 1 reply
  • 0 views

Badge

Hello

 During my process I want to be able to create many items at once using SLI event.

 Create lets say Task 1 and assign it to dynamically set number of destinations - one time 2 of them, another time 20 of them. Each destination should have different item and "assigned field" should be set to proper destination.

 Is this possible using K2 Blackpoint ? 


1 reply

Userlevel 1
Badge +8

Hi,

Are these list items going to be created everytime for each destination regardless of what the user chooses? If your answer is "YES", then what you can do is place the SharePoint List Item Event in the same activity as the client event. Next, you will want to open the activity strip of your activity, click on the people icon for "destination rule". Once the destination rule wizard is open, you will want to click the "back" button to get to the wizard window where you have the option of checking a box to run the wizard in advanced mode.

Click Next to forward through the wizard. You will now see you have options that you did not have previously on a page called "Destination Rule Options". Here the option "Plan just once" is most probably selected. You want to change this value to "Plan Per Destination, All at Once". In short, the default selection makes only one copy of the activity that is shared between the destination users, the option Plan Per destination makes a copy for each destination user. So in your example, if you have 2 or 20 there will be copies made for each destination user. And as a result, there will be 2 or 20 List Item Events created and ran.

Keep in mind this example is dependent on your business requirement of creating a list item ALWAYS for each destination user since this event is included within the same activity as the client event you do not have an option to not create it. 

Hope this helps.

Scott 

Reply