Customized InvokeAxis2 activity, need to invoke this activity for particular service only.

We have requirement to add custom http headers to Invoke Connect SOAP service. For that we customized the InvokeAxis2 activity.

But we need this activity process only particular service not all service. because only one service has http headers other Servies doesn’t have http header.

How we can specialize the activity to the particular service only.

At last, we found solution our own.

@Ramana.D

I’m so glad to hear you resolved this on your own!

Do you mind sharing your solution as it may help others who may have the same question?

@Ramana.D it will be useful if you share your solution. Customizing invokeAxis2 is not good as its not upgrade friendly

@GaneshKumarC3200 yup correct PEGA has same concern. We use function to build the https headers and logic to work particular service after that we called the function inside the InvokeAxis2 Activity. It’s just one line of code inside the InvokeAxis2.

@Ramana.D Probably raise a request to PEGA if they can add any extension point and you can clear this tech debt in future to enable smooth upgrade