Hi all.
Ive got a bit of problem with my workflow status.
On each of my forms I have a field called status (computed) which has the following code: -
@If(Status=“”; “Composing”; Status)
Then on the submit button i have put the following code: -
@SetField(“Status”; “Submitted To IT”);
@Command([FileSave]); @MailSend(“name/IT/company”; “”; “”; “NEW IT Request: Status: - Submitted To IT”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “Attached is a link with a copy of a request form from the following person: " + @UserName;”";[IncludeDoclink]);
@Command([FileSave]);
@Command([FileCloseWindow])
After following the link, the IT staff will click on a button which will open the approve/reject form.
Basically they will fill in a number of fields and save the information using a similar @mailsend command as above.
When they follow the doc link back to the form, I would like it so that my approve and reject button (which I would like to be hidden from them previously) will appear so they can either choose to approve or reject…and was just wondering how this would be done?
For both my approve and reject button i have used the same @mailsend button but changed it accordingly as i would like the status to change from “Submitted to IT” to either “Approved” or “Rejected”
Any help will be greatly appreciated.
Thanks