Hi all,
I’m encountering a rather annoying problem that i need to resolve fairly quickly.
The problem: -
I have a set of forms that have to go through a number of workflow status processes.
If a customer submits form A with a query, an email notification is sent to admin user with a doc link. The Status on Form A changes from what was originally “COMPOSING” to “FORM SUBMITTED”.
They are able to follow this link and open a form where a button will allow them to open up Form B to record more information. When form B is open the status is still “FORM SUBMITTED”.
So far so good.
However, when the admin users records more information, they have to submit the form on to a manager. In order for them to do this i have created a button that saves the form and used @mailsend to send the email notification.
When the manager recieves the email they will be able to open form B and will have the option of approving or rejecting the request. Again i have created two buttons to do this…
If the manager selects approve the status should change from “FORM SUBMITTED” to “APPROVED” or “REJECTED” (depending on the option the manager selects). However, the status does not appear to change…it still remains “FORM SUBMITTED”!!!
All I’m currently using is a blank field (text, computed) called status…
and for the value, @If(Status=“”;“Form Submitted”; Status);
In my action button use the formula…
@SetField(“Status”; “Approved”);
@Command([FileSave]); @MailSend(“Stabilio Genuis/IT/Work”; “”; “”; “Request:Status: - Approved”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “This request has been approved. Attached is a link with a copy of a request from the following person: " + @UserName;”";[IncludeDoclink]);
@Command([FileCloseWindow])
Can anyone help?? I really need to resolve this problem as soon as.
Thanking you in advance