In Service Connect, you can make .Net Call to be site specific by adding Plant=PlantID in the Company ID string.
Is there a way to do similar thing with BPM custom Code? Basically I want to convert the service connect code into Custom Code.
In Service Connect, you can make .Net Call to be site specific by adding Plant=PlantID in the Company ID string.
Is there a way to do similar thing with BPM custom Code? Basically I want to convert the service connect code into Custom Code.
@TobyLai
you can specify a scope on BPM header when you select ‘Company specific’ , however you can also add the plant ID on your If statement as a condition to run it.
Note: if your tables has got no link to PlantId, you can use: CallContexClient.CurrentPlant