cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

log outcome

Jump to solution

Hello Friends 

I have a two stage workflow. Stage 1 is parallel review by multiple team members and stage 2 is final approval by manager.

In review task process where multiple users review documents and provide appropriate outcome. ( Approved / Rejected / Not reviewed )

Is there a way to summarize all the outcomes in an email for manager to quickly glance all the stage 1 outcomes?

I have managed to log all the outcomes in history but in email it only captures 1st outcome.

I think I am missing something here. 

Please advise.

Regards,

Nehal

Reply
7 Replies
Workflow Hero

Re: log outcome

Jump to solution

If you are able to log the outcomes in the History, why can't you concatenate them and assign to a variable, which then you can use in your e-mail's body?

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: log outcome

Jump to solution

Thanks for your inputs.

If I concatenate them It only captures 1st review outcome. Do you have any idea why?

0 Kudos
Reply
Workflow Hero

Re: log outcome

Jump to solution

Frankly speaking, from what you wrote not. Could you paste a screenshot?

By parallel you mean the approval setting or that you have two branches executed in parallel?

If the first option, then you can get all tasks, created for the action, by querying tasks list with a filter: "instance id" equal to "Workflow Context:Instance Id".

Save the outcome, comments to collection variables and then merge collections, or execute for each action to concatenate strings into a single text variable.

If the second option, then I'd like to see it, but I guess you can get tasks and data the same way as for the first option.

Regards,

Tomasz

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: log outcome

Jump to solution

Thank you very much Tomasz... I will try this and update my findings!!!

0 Kudos
Reply
Workflow Hero

Re: log outcome

Jump to solution

You can also try to get the list of tasks generated for the current item using another filter. When you publish a workflow to a particular Tasks List, Nintex provisions its dedicated content type there that has a set of useful columns, such as "Workflow Item ID" - this is the column that keeps ID if an item for which workflow is run. So by making the comparison: "Workflow Item ID" is equal to "Current Item:ID" you should also get a complete list of tasks created for your approval item.

Regards,

Tomasz

Regards, Tomasz Poszytek
Reply
Workflow Hero

Re: log outcome

Jump to solution

‌ do you find any from my answers as correct? If so, please mark one from them as the solution. On the other hand maybe you find out a better solution that you could share with us?

Regards,

Tomasz

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: log outcome

Jump to solution

Hi,

I'am using a variable which is matching a Workflow GUID with a task name to extract data from particular task. The problem is that in query list I cannot find in which item from task lists the Task Outcome is?

I want to extract if task is "Apporoved" or "Rejected".

0 Kudos
Reply