Help with Workflow

Hi to all,
I need help about workflow setup. I’m trying to reproduce the example of the guide, so I create a Leave Application process customized.

These are my workflow states:

These are my workflow transitions:

So the Employ create the request the was set in Pending State,
The HR decide if approve or not, if Approved the Manager will be the responsible for the final arrpoval/reject.

When I try to save, an error message is shown “Cannot cancel befor submitting. See Transition 2”

Where is the error?

Reagards
Alessandro

1 Like

Hi

From what I know and understand, you can not cancel a document without submitting, i.e. Doc Status transition from 0 to 2 is not allowed. In this example, from in transition step 2, the doc status for pending is being changed from 0 to 2. I guess that is causing the error.

Not too sure though :expressionless:

1 Like

@rasika25021 is right. Every document needs to go through submit before canceling. We were planning to remove this, but slipped through the cracks I guess.

I red this on the manual, but i don’t understand the meaning, and if this is the problem, the example on the guide is wrong too.

I thought that the doc status 1 is only to assign to the last status, the final approval, and that all other intermediate step should be in 0 status.

So if all states accepted in the middle has to be 1 status, when ihave to use 0 status? Can you give me an example?

Thanks
Alessandro

1 Like

Anyone can help me to set this workflow?
I try to set also all the state 0 with Doc STatus=1. I can save the workflow but then when i Try to use it, an error message was shown, when I try to move from AAA state to HR APP state.

Status cannot be “HR APP”. It should be one of “Open”, “Approved”, “Rejected”

Regards
Alessandro

1 Like

Hi There, how do we workaround on this for now?

1 Like

There’s No clear answer until now,
@rmehta @max_morais_dmm
Could you please tell us how could we implement the leave application workflow?
should we make the pending status submitted? is it the right way?

1 Like

Hi all
please may you advice how to solve/workaround this error message :
"Status cannot be “HR APP”. It should be one of “Open”, “Approved”, “Rejected”

I tried to follow the Leave application case mentioned in the documentation before apply workflow on a live case. But sadly even the example is failing with this error message. Any advise?
thanks
very appreciated

Sounds like ‘Status’ is a select field with the options ‘Open’, ‘Approved’, and ‘Rejected’. Check ‘Customize Form’ to see. You’ll have to add additional options there.

I created transitions and states according to the example from documentation . is it supposed that additional status will be created automatically?