cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Andreas,

After execution of workflow did you checked the log? what it is saying ?

Regards,

Murali Krishna.

anhamren
Discoverer
0 Likes

Hi Murali,

Where do I see the log? (I am not very experienced in workflow).

Regards Andreas

Former Member
0 Likes

Hi Andreas,

The below link will help you to check the log.

Read the Workflow Technical Log - Wiki - SCN Wiki

Regards,

Murali Krishna,

anhamren
Discoverer
0 Likes

Hi,

Thanks! I have now checked the log. As long as the batchjob SWWDHEX was not running nothing end up in the log for this task type. When the batchjob was scheduled and all task was executed the log shows all tasks as completed.

Regards Andreas