cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ptidaelus
Nintex Newbie

When using the Flexi Task, how to set the Workflow task on "In Progress"

Jump to solution

Hello,

 

A customer mentioned that the Flexi Task is set on 'Not Started', and that this behaviour is not what they need to see. Most tasks can be set on 'In Progress', but the Flexi task jumps from 'Not Started' to 'Completed'. Is there a way to update the flexi task status field. (already tried using update item, but that gives an error on flexi task... works for approval tasks).

Labels: (1)
0 Kudos
Reply
3 Replies
Not applicable

Re: When using the Flexi Task, how to set the Workflow task on "In Progress"

Jump to solution

The default value is not controlled by the workflow.

The "Not Started" value is coming from the Task Status column which is being called by the Nintex Workflow Multi Outcome Task content type.

If you are happy to change the default value for all new tasks in that site\site collection you could edit the value of the Task Status Column in the Column Gallery.

task status1.png

task status2.png

I was curious about this idea so I have tested it and it worked for me.

I know this might be overkill for your scenario.... I still have my thinking hat on.

0 Kudos
Reply
ptidaelus
Nintex Newbie

Re: When using the Flexi Task, how to set the Workflow task on "In Progress"

Jump to solution

Hey Rob,

tnx for the input. The workflow is running in a site collection where other flows have been set up. Changing the default value will not be accepted probably. Nevertheless, I'll propose this solution (unless your thinking hat already came up with something better ).

0 Kudos
Reply
ptidaelus
Nintex Newbie

Re: When using the Flexi Task, how to set the Workflow task on "In Progress"

Jump to solution

the main reason the update did not work, was an error being thrown when trying to update the flexi task (not with default approvals).

My thinking cap (I do not dare to use the word hat... not enough knowlegde present for that ) advised me to try to add a delay;

- apparantly, the creation of a flexi task is a bit more intensive

- when trying to retrieve the task ID, by default it will fail, since the flexi task isn't completely created yet

- on my 2010 environment, saving the flexi task ID returned a blank value (don't know why... probably 'cos of platform config/issues... but that's out of my control).

 

Solution:

- added parallel action

- added a RequestID column to the flexi task

- branch 1: flexi task

- branch 2:

  • Delay of 1 minute => without this one, it won't work
  • List query on workflow task list on the Request ID = current item ID, which gives me the workflow task ID
  • Update Item in workflow task list where ID = ListQuery task ID => works like a charm
0 Kudos
Reply