Steps to activate workflow for a simple dialog
I have simple custom dialog with just 5 fields (of from just 1 table) the last field being "approval flag" not displayed on the screen.
when "requestor" executes trasaction to enter request and click on save, I would like to generate a workflow mail to one of the predefined 6 agents depending on the key values entered on this screen.
Agent then should be able to approve or reject the request from his inbox. if "approved", the flag in the table should be checked. if "rejected", it should generate a mail back to "requestor" to make necessary changes.
at high-level, could anybody please suggest what exactly should I do to make this whole stuff working. AM I SUPPOSED TO CREATE A CUSTOM BUSINESS OBJECT. WHAT IS THE PROCESS? IS IT EASY?
Here is what I am thinking.
1. when "requestor commits data from custom screen, use the message number to trigger the work-flow mail. - WHERE SHOULD I STORE THESE AGENTS EMAILID'S? HOW DO I TRIGGER MAIL TO AGENT DEPENDING ON THE KEY VALUES?
2. Agent will receive mail and then clicks on "approve" or "reject". WHAT SHOULD I DO TO reset/check THE APPROVAL FLAG IN THE TABLE?
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo