Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Workflow » Pending workflow task on Home Page
Re: Pending workflow task on Home Page [message #2442 is a reply to message #2441] Sat, 06 February 2010 06:21 Go to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
Here's a better implementation which does not involve changing the standard classes, so any customisations which you make will not get overwritten in a future release.

I have created a new directory called 'workflow/classes/custom-processing' which contains a file called 'example.zip'. This zip file contains some examples of how the standard classes can be customised. These custom classes have a prefix of 'cp_' so that they can be separated from the standard classes.

If you do not have any custom processing then do not place any class files in the 'custom-processing' directory.

I have modified the standard 'wf_workitem_role' and 'wf_workitem_user' classes so that when the '_cm_post_getData()' method is executed it will look in the 'custom-processing' directory for a 'cp_' class file. If one exists it will execute whatever code it finds in the '_cm_post_getData()' method. If a file cannot be found then the database data will not be altered.


 
Read Message
Read Message
Read Message
Previous Topic: State Machine vs Sequential WF
Next Topic: Explicit OR-Split
Goto Forum:
  


Current Time: Thu Nov 28 18:19:35 EST 2024

Total time taken to generate the page: 0.00954 seconds