Call more UserTask in a foreach loop
Hi, I'm using a foreach condition to iterate a collection by a certain step (LivOperativo1_RicOfferte). For each iteration I want to add the current element of iteration (1,2,3 or 4) in the 'prompt' variable of the UserTask create. It's possible?
Under my test code:
public void Build(IWorkflowBuilder<Processo> builder)
{
builder
.StartWith<StartWorkflow>()
.ForEach(list => new List
Thanks Massimo
Currently, the parameter for the prompt does not take an expression... that is something we'd have to add.
is there any way by which we can achieve multi user tasks, I tried to create, multiple tasks in the loop, tasks are created, but user remain same, unable to understand, I assign the user. also I am getting mails for two different user, when I see pending user tasks there are two tasks but all the values are same so it is bit confusing. @danielgerlag need your help
@danielgerlag
I also need your help on this issue.
How to generate multiple user tasks in a loop, and the assigner is from foreach item. ` .ForEach(x=> x.Users) .Do(x=> x .StartWith(_=> ExecutionResult.Next() ) .UserTask("approve", d=> context.item) )
`
Tks.