Any suggestions on how to collect input from multiple individuals at the same ti

Certified Senior Developer
Any suggestions on how to collect input from multiple individuals at the same time? I have a process that includes a 'survey' type step. I'd like to send a task to a group (at the same time) and have them provide input individually (same input form but each person in the group would be tasked to complete it - and membership could vary). When all (or a set number) have submitted their input (i.e., tasks have been completed) - the process would continue. I'm using the getdistinctusers(topeople(pv!group)) function to assign the task to everyone in a specific group. That seems to work but I get 2 tasks for every person in the group (not sure why). In the 'Other' tab, I selected 'Run one instance for each assignee' at the same time. Each form collects the 'vote' (Y or N) and any feedback (text) in a CDT that is set up as a 'multiple'. When I test it - I get the multiple tasks/assignee but the data saved is just the last data entered. How do I get all re...

OriginalPostID-194377

OriginalPostID-194377

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    Follow up question regarding this issue. Most of this is working but I can’t get the flow to go to the Write to Data Entity node until all ‘votes’ have been submitted. See picture of my process model and explanation below:
    I created this process model (see picture) using a single pv (newItob_cdt) set up to save votes from users that are entered in the first user input form (Enter ITOB Vote). Multiple tasks are launched (1 for each user in a specific group) from this node.
    The Write to ITOB table node is used to record each vote/user.
    The Script Task node adds ‘1’ to pv!count_inc that is checked in the XOR gateway to see if all the individuals in the group submitted votes or if the ‘endtime’ for the survey has been reached.
    The ‘Get data’ node uses a query to pull all the records from the ITOB table and saves the data into pv!newItob_cdt which is displayed in a grid in the last user input node.
    I get the right # of tasks out of the first user input node but only the last user’s input is written to the ITOB table (i.e., the flow never goes to the Write to ITOB table node until all users submitted their votes).
    I did shield the PV (from parallel executions) as @sikhivah suggested and did so on all flows leading up to the XOR and the one that returns to the first user input form.
    Shouldn’t the flow go through each node, return to the first input form node until all votes (or the endTime) is reached? What am I missing?


Reply
  • 0
    Certified Senior Developer
    Follow up question regarding this issue. Most of this is working but I can’t get the flow to go to the Write to Data Entity node until all ‘votes’ have been submitted. See picture of my process model and explanation below:
    I created this process model (see picture) using a single pv (newItob_cdt) set up to save votes from users that are entered in the first user input form (Enter ITOB Vote). Multiple tasks are launched (1 for each user in a specific group) from this node.
    The Write to ITOB table node is used to record each vote/user.
    The Script Task node adds ‘1’ to pv!count_inc that is checked in the XOR gateway to see if all the individuals in the group submitted votes or if the ‘endtime’ for the survey has been reached.
    The ‘Get data’ node uses a query to pull all the records from the ITOB table and saves the data into pv!newItob_cdt which is displayed in a grid in the last user input node.
    I get the right # of tasks out of the first user input node but only the last user’s input is written to the ITOB table (i.e., the flow never goes to the Write to ITOB table node until all users submitted their votes).
    I did shield the PV (from parallel executions) as @sikhivah suggested and did so on all flows leading up to the XOR and the one that returns to the first user input form.
    Shouldn’t the flow go through each node, return to the first input form node until all votes (or the endTime) is reached? What am I missing?


Children
No Data