cancel
Showing results for 
Search instead for 
Did you mean: 
Nintex Employee
Nintex Employee

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution
0 Kudos
Reply
Automation Master
Automation Master

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

I've been trying to use the new release, but it's suspending all of my previously built workflows. Things that used to work now don't, for some reason, as soon as I so much as put a "txtComments" into the Task Comments output.

I've also ensured I've linked it to "Body" in the task form, for the comments holder (totally unsure as to why "Comments" wasn't the default, though?) -- and still, Suspends. 

Simple task, too - assign a task - 1 person - txtComments in Task Comments, Comments Field = Body... reply to task with a "testing" in the comments box - or empty - or anything. Boom, suspend! 

Is this happening to anyone else?  

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

Hi Rhia

Do you have a suspension error you can share, from the info bubble on wf history?

Callum

Get Outlook for Android<https://aka.ms/ghei36>

0 Kudos
Reply
Automation Master
Automation Master

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

RequestorId: 69062518-5d2f-6979-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidOperationException: Looking up a value using a key is not supported on an instance of 'Microsoft.Activities.Dynamic.DynamicJsonPrimitive'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ArrayPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<DynamicValue> Sequence If Sequence If Sequence Get Assigned User Display Name Get the data for a single task item If Retrieve Comments NintexActivities.WorkflowXaml_1cfc1779_c175_4bbb_9146_531a77ec3551 Assign a task Sequence If While State Machine Sequence Flowchart Delegate Task Test.WorkflowXaml_e54d5ce4_1847_4e27_ac61_1bffe9d556f5

0 Kudos
Reply
Automation Master
Automation Master

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

I'll add that as soon as I remove the txtComments, it goes back to working as expected. But ... I want to use the comments function.

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

Hi Rhia,

We're taking a look at this and we have a couple of questions.

  • Does the 'Assigned To' owner of the task have a display name? (e.g. is it a service account or something else that may not have a name).
  • Are you using the 'Basic' mode of Task Outcomes, where you just specify the outcomes, or are you using 'Advanced Mode' where you pick an existing content type. If Advanced, what content type does this inherit from (e.g. Workflow Task (2013))
  • If possible, are we able to get a list template for the Workflow Tasks list where the tasks for this workflow are being created.
  • What language/culture is the SharePoint site?

Thanks,

Callum

0 Kudos
Reply
Automation Master
Automation Master

Re: Is there any way to capture comments via the Lazy Approval emails in O365?

Jump to solution

Hi Callum - 

Responses in order, 

- It's a service account but it does have a display name;

- Um - basic, I think - but - I am using a Content Type for (based on the original as the Parent) where I've added Delegate as an outcome option.

- The workflow tasks list is the default task list, no modifications have been made to it.

- English, US.

Cheers!

And thanks for all of your help. Excited about using this feature.

R.

0 Kudos
Reply