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
Request clarification before answering.
Hi Andreas,
It's nothing related to your class. So do one thing Please follow the below step.
1. GO TO swu3->Maitain_Runtime_environment-> Schedule background job for worklfow deadline monitoring.
Set the value and save it. Then no need to execute it manually.
Thanks
Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
After execution of workflow did you checked the log? what it is saying ?
Regards,
Murali Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
The below link will help you to check the log.
Read the Workflow Technical Log - Wiki - SCN Wiki
Regards,
Murali Krishna,
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.