locked
Workflow parallel execution problem. RRS feed

  • Question

  • Hello,

        I have created workflow for "A" sharepoint list. when data is inserted in Sharepoint list "A" (Student ID, Fee-Amount), workflow will execute and check Student ID is already present in or not, if not then add new item in Sharepoint list "B"(Student ID, Fee-Amount) otherwise update item by using student ID criteria.

    Sharepoint list "A" will have duplicate records for same student ID and Sharepoint list "B" must have only one record for each student ID.

    Here, I am facing problem when I tried to add 1 items at a time then workflow executes well, and data is inserted / updated in sharepoint list "B", but if I tried to import 10 records (with duplicate student ID. Eg.: 1,1,2,3,4,5,6,7,8,9) in sharepoint list "A", then workflow executes all 10 items at a time. Due to this parallel execution student ID:1  passes IF condition (where we have checked if records already exist in SP list "B") and creates new item in SP list "B" for Student ID: 1.

    How I can resolved this problem.

    I have also tried to set Pause for duration depending on ID value of Sharepoint list "A". but it is very time consuming.


    Please help me.

    Friday, April 4, 2014 5:06 AM