Help with document status change

I would like to have a “status” field automatically updated whenever there is a change to an approved request document. For example, when the request is opened it’s set to “open”, when it’s submitted it’s changed to “awaiting approval”, and when the request is approved it’s changed to “approved.”

If the requestor makes a change after it has been approved, I need to have the status changed back to open and a popup to remind them that it must be re-submitted for approval.

Can someone provide me with help on how I can accomplish this?

Thanks - Paul

Subject: Help with document status change

I either put it on a button so that it changes the status when they exit via the button oruse status’s of other fields ie below.

Carrie

@If(SiteConclusionDate = “”; “Open”; manuallycompleted = “No”; “Awaiting Account Holder Closeout”; "Closed

Subject: Help with document status change

I may have been unclear on what I was trying to say. The status field displays the approval status of a request. Once the requestor sends the request for approval and the request is approved, the status is changed to “approved”. The problem I am having is that people have been going in and changing dates or costs associated with the request after they have been approved. I need the status field changed back to “open” (meaning it is new and needs to be sent for approval again) anytime the date or one other key field has been modified.

Thanks again.

Subject: RE: Help with document status change

When designing a workflow like this one, you should use computed controlled access sections. Put all the fields that should not be changed after an approval into this section, and change its access formula for something like:

@If (Status = “Open” ; “” ; " — No Access —")

Now, the section is closed all the time (since nobody has an ID matching “— No Access —”) except when the document has its status field set to “Open”, in which case it is open to all users (hence “”).

Finally, if you want to let people change the content, you could provide them with a button that specifically changes the status to open, which will force the document back into the previous workflow steps but will in the same time unlock again the controlled section.

You can even activate the “Sign if saved in section” feature to record the digital signature of the last person who had modified the content of the section.

Good luck

Nicolas Abesdris

Quintessence e-solutions Inc.

Subject: Help with document status change

I assume web GUI… If you want to set the status to “open” as soon as someone opens the document in edit mode, a WebQueryOpen agent can do the trick. If it’s ok to just set the status when saving, you could have a hidden editable field with a translation formula, that checks the current status. If it isn’t “awaiting approval”, you set it to “open”. You can then read that field in from a JavaScript and show a popup if the status is “open”.