I am trying to register an application in process fabric hub on same server with pega application, and am getting 500 error . The error is as follows: "
Failed to connect - the HTTP response code of 500 indicated a server error. The response data may contain a reason.
Response - Error activating declare triggers"
PFA the screenshot for reference. Can anyone please provide inputs on this scenario
@begua Hi Arshiya, I tried tracing but am unable to trace this service in any of the remote applications am not seeing the service getting traced. But i traced the connect that is made from the PPF Application it gave the below error.
Did you get a fix for this? I have the same issue and i was able to trace the api /prweb/api/ppfconnect/v1/applications/{applicationName}/actions/{action}
The error i got when i traced it was
“Update record failed: .pyTriggerWhen: pzPF_EnablePublishRealtime does not exist or is not a valid entry for this ruleset and its prerequisites. Instance of class Rule-Obj-When not found: Assign-Worklist.pzPF_EnablePublishRealtime.”
That rule is available so i’m not sure why i’m getting this.
Is your application built on other applications? When your remote application is being activated it creates a series of declare triggers that are used to push the changes back to your instance of Process Fabric. When it creates these declare triggers it doesn’t just create them in your application layer it also does it for the built on applications. However when it does the build on applications it will fail if that built on app does not have the Process Fabric component. Once I added the component to all layers the i was able to successfully activate.
@SrinidhiM Can you please trace the service ‘applications/{applicationName}/actions/{action}’ on your remote application and send us the error screenshot of the tracer to triage this issue.
@MatthewH5221 Hi Mathew Thank you so much for your solution. I some how figured out that it was due to the declare triggers but couldn’t figure out the solution. Thank you so much