Workflow related doubt

Hi all,

I am creating a workflow, with following states and transaction rule

States:


Transaction Rules

The flow is  like : Professor -> HOD -> Nodal Officer 1 -> Nodal Officer 2 -> Dean

For the above sequence, for Approve state it works fine, but for Reject it shows following message


How to handle following condition with workflow
A situation like: where HOD want's to reject professor's request? 

Regards,
Saurabh



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Saurabh,

In your screenshot, States do not have a Rejected status.

Even Rejected status should have docstatus = 1, i.e. Submitted. It means that the status has been fixed and no further modification to the document should be allowed.

You cannot cancel a draft document. 

Thanks,
Anand.

PS. There is also a typo in States row#7 for Cancelled

On 19-Aug-2013, at 6:28 PM, saurabh palande <sa...@gmail.com> wrote:

Hi all,

I am creating a workflow, with following states and transaction rule

States:


Transaction Rules

The flow is  like : Professor -> HOD -> Nodal Officer 1 -> Nodal Officer 2 -> Dean

For the above sequence, for Approve state it works fine, but for Reject it shows following message


How to handle following condition with workflow
A situation like: where HOD want's to reject professor's request? 

Regards,
Saurabh



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Anand,

Thank You. How I will get the values for Update Field and Update Values ?

Inline image 1

Regards,
Saurabh


On Mon, Aug 19, 2013 at 7:10 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Saurabh,

In your screenshot, States do not have a Rejected status.

Even Rejected status should have docstatus = 1, i.e. Submitted. It means that the status has been fixed and no further modification to the document should be allowed.

You cannot cancel a draft document.

Thanks,
Anand.

PS. There is also a typo in States row#7 for Cancelled

On 19-Aug-2013, at 6:28 PM, saurabh palande <sa...@gmail.com> wrote:

Hi all,

I am creating a workflow, with following states and transaction rule

States:


Transaction Rules

The flow is like : Professor -> HOD -> Nodal Officer 1 -> Nodal Officer 2 -> Dean

For the above sequence, for Approve state it works fine, but for Reject it shows following message


How to handle following condition with workflow
A situation like: where HOD want's to reject professor's request?

Regards,
Saurabh



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
S.S.Palande



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Well, that's your choice. Type which field you want to update on that status change and with what value.

For eg. if there is a status field where you want the value to change to "Approved" when "Approved by HOD" state is set in workflow, then select field as "status" and value as "Approved".

-Anand.

On 19-Aug-2013, at 7:30 PM, Saurabh Palande <sa...@gmail.com> wrote:

Hi Anand,

Thank You. How I will get the values for Update Field and Update Values ?

<Screenshot - 08192013 - 07:29:02 PM.png>

Regards,
Saurabh


On Mon, Aug 19, 2013 at 7:10 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Saurabh,

In your screenshot, States do not have a Rejected status.

Even Rejected status should have docstatus = 1, i.e. Submitted. It means that the status has been fixed and no further modification to the document should be allowed.

You cannot cancel a draft document. 

Thanks,
Anand.

PS. There is also a typo in States row#7 for Cancelled

On 19-Aug-2013, at 6:28 PM, saurabh palande <sa...@gmail.com> wrote:

Hi all,

I am creating a workflow, with following states and transaction rule

States:


Transaction Rules

The flow is  like : Professor -> HOD -> Nodal Officer 1 -> Nodal Officer 2 -> Dean

For the above sequence, for Approve state it works fine, but for Reject it shows following message


How to handle following condition with workflow
A situation like: where HOD want's to reject professor's request? 

Regards,
Saurabh



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
S.S.Palande



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.