Posted on 2006-10-27
We are running Adobe Workflow for our Client Intake process.
Process goes as such:
1. Process is initiated
2. Goes to Conflicts Group
3. Then it goes to 2nd Conflict Clerk
I'm trying to create an email trigger to go out to to the Conflicts Group, only if the 2nd Conflict Clerk rejects their form. I've been unsucessful thus far.
Here's my code:
var someInstructions = "";
if (WorkItem.previousWorkItem.name == "2nd Conflict Clerk")
someInstructions = WorkItem.getFieldValue("clname1") + "- Conflict Process Rejected for " + WorkItem.getFieldValue("rpmbillatyname") + " Please Re-submit";
WorkItem.instructions = someInstructions;