• Question about rwfOldDocStatus

    By Eric Borisow 2 decades ago

    Hi,



    Thanks for an excellent product. One question I had was with the rwfOldDocStatus field that is on the workflow subform. I would like to have a 'Reject' button that returns to the previous workflow that the user came from. Other than taking the last value from the History, I thought that rwfOldDocStatus might be my answer, but it seems that the field always seems to have the same value as rwfDocStatus. Is that correct?



    Thanks,

    Eric

    • Nice idea

      By Colin Williams 2 decades ago

      I like this idea. The field name suggests that the field should hold the previous status - I guess we'll need need to wait for Phil to comment on this one.



      Of course these is no reason why you can't store the previous state in your "submit" button code.

    • rwfOldDocStatus field

      By Phillip A Kahrl 2 decades ago

      The field "rwfOldDocStatus" is currently used if you are using the name/address input validation option in a notification document. It reverts the context document back to the previous status if the context document does not pass input validation. So, if the input validation option is not being used, then this field will always have the same value as "rwfDocStatus".