Design Studio - clearing a text field when you Inquire (or Next or Previous) a form.

Here's a simple command to add to your Design Studio Script to clear a field you've added:

function FORM_OnAfterTransaction(fc)
{
lawForm.setFormValue("text15","",0);
}
ProcessFlow Job Requisition Approvals
After a job requisition is in the ProcessFlow approval process if you make a change to the Job Requisition (PA42) your WorkUnit is cancelled by the system and a new one is kicked off. This restarts your flow at the beginning of the approval process and may not be the way you want to go.
One way around this is to use your initial JobReq Approval Service to kick off a new service (using a WorkObject in your flow) which will then handle the approval process of the Job Requisition.
The down side is that a WorkUnit will still be created when a change is made to your Job Requisition but you can design your flow to check whether or not the 2nd service was already kicked off and simply go to the End of your flow when true.
ProcessFlow Inbasket PA52 "soft edit" messages.
Because of other customizations with Design Studio, the department that used to see the PA52 soft edit messages, like salary out of range, doesn't see them anymore. They do, however, use the Inbasket to review the Action so I added a function to look up the salary range and provide a pop-up alert if the pay rate is outside of the range.

I use another function to check for WorkUnit messages and provide a pop-up alert for that as well. Now the approvers don't have to click on the Messages folder to see if any comments have been added to the Work Unit.