Is it possible to get current type/action (create, delete, change) of a workflow inside a custom function?
E.g.:
If a record is created, worklow calls function a_func().
If a record is deleted, worklow calls function a_func().
Inside a_func(), I do something like:
if(workflow.action=="delete") ...
if(workflow.action=="create") ...
Or do I have to set up two different fiunctions?