Sunday, 25 March 2012

Difference b/w Worklfow Process Manager and Worklfow Process Batch Manager

Worklfow Process Manager and Batch manager are the two important components responsible for the execution of any workflow process.
The only difference between these two is,one is used for normal worklfow process and the other used for the Batch process.

But,you may ask, what is the difference,how does they work ? Can I use a Batch Manager to run a normal worklfow process manager or can I use a Worklflow Process Manager to run a Batch process?

Yes,Its not possible to run a Batch Process by using normal Workflow Process Manager Component.
The reason is,there is an inbulit looping mechanism for the Batch ProcessManager and there is no Looping mechanism  built for the Worklfow Procees Manager hence it would not pick all the records.

Workflow Debugging in Production

Its always recommended that, you should be very careful while working on Production Application. Any small change may have greater impact on the business and there would be possibility of revenue loss to the business/customeur.Hence those who are actively supporting the production application should take precaution to not make any changes, unless and untill your sure about the impact on other components or functionality.

Ok,but what should I do, If I have to monitor a workflow to debug a functional issue which has been major block ??
Here is the step by step procedure to monitor/debug a workflow...

1.Login as SADMIN(usually only Admin would have access to sadmin)
2.Go to Administration-Business Process
3.click on Workflow Deployment
4.Click on "Active Workflows"
5.Qwery for the Workflow you would like to monitor
6.Scroll right and set the Monotring Level to "3-Debug" or "4-Detail"(Better to go for 4-Detail,as it would give more details )
7.After completing the above steps ,Go to Workflow Instance Monitor in the Top Menu bar.
8.Qwery for the Worklfow and check Process Instances.
9.Carry out the Test which calls the worklfow(by using Business or team logins)
9.Drill Down on the Process instances to observe step by step execution of workflow.