We have problem with workflow tasks. We are a insurance company using SAP CRM 7.0.
The scenario is:
- A new customer is registred.
- Class A creates the business partner and a contract transaction.
- Class A then calls Class B which generates a workflow task by calling cl_swf_evt_event=>raise with the new class name and event 'STARTA'.
- When the workflow task is executed a method in Class B is called which generates a print activity (smartform) and save some data in a Z-table. It is very simple and should not be assigned to any users/groups or similar.
This have worked fine. Now, I have renamed Class B to a more generic name since the previous class name was too specific.
After this change, the workflow task is not executed automatically anymore. I have to setup batch job SWWDHEX (RSWWDHEX) to run every minute to execute the workflow task
In workflow task I have put the new class name instead of the old and activated the triggering event to new class name .
I have also updated the event type linkage in SWETYPV. What more must be done to able the workflow task to execute automatically?
Best regards
Andreas