cancel
Showing results for 
Search instead for 
Did you mean: 

Running the businessprocess on the same node where it started

04-02-2020 7:34 PM
1124 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi,

I know that the business process is cluster aware. This means that the business process triggered at one and can run on any other available node. This means it executes asynchronously.

But is it possible to trigger and run the business process on the same node both the ways synchronously and asynchronously.

The problem is when i have followed the example Sending email using business process, the media file is generated at one node where the business process is trigger and when the action is executed at another node, it's unable to find the media file and getting de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: email media /h41/h11/8803859234846.html

This is something similar to How To Run Send Email BusinessProcess on a single node post. But i don't want to use task.excluded.cluster.ids property because it applies to all other tasks. So, i just want to run the business process at node specific but not as cluster aware.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

deepak-kalra
Active Participant
0 Likes

Hi narendra_bm,

Please have a look at SAP note "2531523 - java.io.FileNotFoundException: D:\hybris\data\media\sys_master\hff\h8c\8798760501278.xml (The system cannot find the path specified)" as it describes the same issue.

Link: https://launchpad.support.sap.com/#/notes/0002531523

I hope it helps

Regards
Deepak

0 Likes

Hi deepak-kalra , I have not updated media.replication.dirs. I am using default value. Just because of this job, i can't really change default directory.