cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow not triggered with ISR_NOTIFICATION_CHANGE

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos
320

Dear experts,

I am creating a workflow by calling FM  ISR_NOTIFICATION_CREATE. This triggers my workflow.

Later I make some updates to the ISR notification using  ISR_NOTIFICATION_CHANGE. But during this, the workflow is not triggered.

I have the CREATED, DATACHANGED and INPROCESSAGAIN events active for business object BUS7051.

I am not sure what is missing, but the  ISR_NOTIFICATION_CHANGE is not triggering workflow. Please help.

Thanks,

Shalini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Do you know how FM  ISR_NOTIFICATION_CREATE triggers workflow? Is it by creating an event?

If so, is that event still being created? (check in SWEL, turn on with SWELS).

If the event isn't being created then you'll probably need debug to find out why.

regards

Rick

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rick,

I checked the event trace in SWEL. I could not see any event triggered when the ISR_NOTIFICATION_CHANGE is triggered.

Any clue what needs to be done?

Thanks,

Shalini

Former Member
0 Kudos

Hello,

Which workflow (WS...) are you expecting? Have a look at it in PFTC_DIS and see if it has a triggering event. It could be that it's started without an event.

regards

Rick

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rick,

We have created a custom workflow. Yes, it has triggering events: CREATED, DATACHANGED and INPROCESSAGAIN active.

Thanks,

Shalini

Former Member
0 Kudos

Is it working in your Test system?

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rick,

Only CREATED event is getting triggered. Other ones are not triggered.

I need to know if something needs to be done in workflow or with ISR_NOTIFICATION_CHANGE.

Thanks

Former Member
0 Kudos

Hello,

You said:

"We have created a custom workflow. Yes, it has triggering events: CREATED, DATACHANGED and INPROCESSAGAIN active."

You also said:

"Only CREATED event is getting triggered. "

Why doesn't the CREATED one start the workflow?  Check in PFTC_DIS if CREATED as triggering event is active.

regards

Rick Bakker

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Rick,

Yes, the CREATED event is triggered and processed rightly when I call ISR_NOTIFICATION_CREATE. But when I call ISR_NOTIFICATION_CHANGE, no events are triggered.

Thanks!

Richa_Gupta
Contributor
0 Kudos

Hi Shalini,

Can you try making your workflow a general task by going into the basic settings of your workflow and making it general.

Also, please make sure that all configuration are in place and workflow is active for all the events you want.

Also, do you see the event in SWEL and not the workflow or do you see nothing in SWEL(Event as well as workflow)???

Regards,

Richa

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Richa,

How to make it a general task?

In SWEL, I see neither the events no the workflow while calling from ISR_NOTIFICATION_CHANGE.

Thanks,

Shalini

Richa_Gupta
Contributor
0 Kudos

IN that case your standard event itself is not getting triggered.  This might be due to some missing configuration. Here I am assuming that you switched on event trace using Swels before checking for event in Swel.

TO make a workflow as general, go to basic settings ( CAP icon )of workflow and click on yellow icon there. Select your workflow entry and click on attributes. And select general task there. 

IF all config are in place then you might need to call custom event for the workflow.

HOpe this helps.

RIcha

Former Member
0 Kudos

Hello,

It sounds like DATACHANGED is the event that's missing. It's unlikely that setting the workflow to General Task will help (only if the event isn't used) but it's worth a try.

When did this stop working? Does it work in the test system?

It's probably a missing SPRO config setting.

regards

Rick

Shky
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Rick,

This is a new workflow that was created. I have not checked in any other systems yet.

Setting it to 'General task' did not help.

Again the workflow is not triggered for ISR_NOTIFICATION_CHANGE.

Thanks!

Former Member
0 Kudos

Hello,

Do a debug on ISR_NOTIFICATION_CREATE to see where it creates the event and try to figure out where the matching spot is in ISR_NOTIFICATON_CHANGE.

regards

Rick

Answers (3)

Answers (3)

Former Member
0 Kudos

Also try putting a breakpoint at function module SAP_WAPI_START_WORKFLOW to see how it starts the workflow.

Former Member
0 Kudos

HI,

I believe the ISR workflow (which is maintained in the config. given below) is not event based, instead it is started by the function module may be SAP_WAPI_START_WORKFLOW.

As far as i know ISR, you need to  activate the standard workflow template for ISR in config for it to start. there are configuration steps in SPRO Cross application components->Notifications->Notification Processing->Activate Workflow Template and Assign Processor.

Regards

Ibrahim

Richa_Gupta
Contributor
0 Kudos

Hi Shalini,

Please check as suggested by Rick that which all events are getting triggered once you execute the function module for change. In case, the same events are getting triggered, please check if your workflow is active for that event.

Also, there  might be some settings missing from configuration.(I am not sure about it).

In case of change, it might also be related to SWEC settings.

Richa.