Skip to main content
Solved

Cloud 23R1 - Error while enabling BPA Custom Event and Projection Actions


Forum|alt.badge.img+12

Hello All,

I’m facing an error while trying to enable the Custom event action and Projection Action for Workflows (BPA) in Cloud 23R1. Haven’t faced this issue in 22R2. 

Has anyone faced this issue earlier? Please advice.

 

Best answer by Priyanka Cecilia V

I was able to resolve the error. Looks like some BPA’s have been removed in 23R1 but not the relevant custom events and actions which was causing this issue. Imported these workflows from another environment and able to create new custom events now.

 

View original
Did this topic help you find an answer to your question?

13 replies

Forum|alt.badge.img+12

I was able to resolve the error. Looks like some BPA’s have been removed in 23R1 but not the relevant custom events and actions which was causing this issue. Imported these workflows from another environment and able to create new custom events now.

 


Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

Hi Priyanka,

I’m from IFS R&D workflow team and I like to know the root cause of the issue you faced to know if we can do something about it to prevent anyone else facing it. The two workflows are R&D owned workflows and they were NOT removed in 23R1. For some reason they had not installed in your environment. Could you please help us in nailing the cause for this? Because if there is some issue here it could be critical.

Can I know if there are custom workflows that are installed by the installer in your environment? That means if there are custom bpmn files inside components that are automatically installed by the installer.

One reason for the two workflows to not get installed is any workflow, even a one other than the given two, are violating a deployment validation. If you have access to database could you please query BPA_MODEL_STAGE_TAB (using a query like select * from BPA_MODEL_STAGE_TAB) and verify that the status column of all workflows are in state ‘deploy’? If the status is empty they may not have been deployed correctly. If it is possible to export the table and send it to lahirumala.demel@ifs.com all the more better.

Thanks!

/Lahirumala


Forum|alt.badge.img+8
  • Sidekick (Employee)
  • 49 replies
  • July 1, 2023

@Lahirumala de Mel 

Hi Lahirumala,

I saw your reply on the community post, I’m having the same problem in a newly created topic branch in my Release Studio where I’m upgrading to 23R1.

I sent you the table result in an email. 

 

I see in the post that Priyanka was able to resolve. I don’t know how I deploy those bpmn files though. Where do I go to deploy them?

I did find them in my repository, but have no idea how to get them deployed.

We are in a very urgent situation, so I could use that as a work around for now.


Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

Hi Malin,

If you found the bpmn files in the repository you can import them from the workflow designer and use the deploy commands in workflows designer to deploy them.

According to the table you sent there are some workflows that have not been deployed while some are. Probably there are deploy errors in one of the workflows causing subsequent workflows to fail. @Achala can we look at the logs and find out which workflows have deployment issues?

/Lahirumala


Forum|alt.badge.img+12
Lahirumala de Mel wrote:

Hi Priyanka,

I’m from IFS R&D workflow team and I like to know the root cause of the issue you faced to know if we can do something about it to prevent anyone else facing it. The two workflows are R&D owned workflows and they were NOT removed in 23R1. For some reason they had not installed in your environment. Could you please help us in nailing the cause for this? Because if there is some issue here it could be critical.

Can I know if there are custom workflows that are installed by the installer in your environment? That means if there are custom bpmn files inside components that are automatically installed by the installer.

One reason for the two workflows to not get installed is any workflow, even a one other than the given two, are violating a deployment validation. If you have access to database could you please query BPA_MODEL_STAGE_TAB (using a query like select * from BPA_MODEL_STAGE_TAB) and verify that the status column of all workflows are in state ‘deploy’? If the status is empty they may not have been deployed correctly. If it is possible to export the table and send it to lahirumala.demel@ifs.com all the more better.

Thanks!

/Lahirumala

Hi Lahirumala,

I don’t believe we have custom workflows in the installer. We deploy the custom workflows separately through the workflow designer.

Unfortunately, I do not have access to the DB. I will check if I can get the information to you.

This was not the only occasion were we received a workflow error. When we tried to deploy our custom workflows using ACP, we got the below error. When I checked the workflows screen, this workflow was not available. Therefore, we had to manually deploy each bpmn file again.

Kind Regards

Priyanka Cecilia


Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

The errors that you may been experiencing with the message "no process deployed with key XXX" is due to one or more workflows delivered by RnD failing at deployment time. 

Please note that there are several improvements in this area planned for 23R1 SU4, to address deployment failures of workflows, make workflows resilient for errors and to easily troubleshoot. While most of the issues you are facing now will be solved with service update 4, as workarounds you can try following.
1. Manually deploy the workflows that are mentioned in errors as NOT deployed. For example if you get the error 'no process deployed for AcpImportBpaDeployment' import the bpmn file of AcpImportBpaDeployment from the IFS code base and deploy it manually using IFS cloud. If you need help in finding the bpmn file please contact IFS support channels.
2. Restarting oData provider is also a workaround that might solve some errors.

Since the issue might differ from environment to environment although the error is same, we cannot give an exact workaround to cater all situations. I suggest to enter a support case to RnD in case there are situations to address before SU4 is delivered. But please make sure to include the Middle-tier OData startup logs and the content of BPA_MODEL_STAGE_TAB in the support case, to correctly identify the root cause.


Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

There is a fix delivered by RnD in the same area that will most likely fix these type of errors. This fix is delivered in following releases

  1. 22.1.18 - 22R1 SU18
  2. 22.2.11 - 22R2 SU11
  3. 23.1.4 - 23R1 SU4
  4. 23.2E.0 - 23R2 EA

Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 32 replies
  • October 14, 2024
Lahirumala de Mel wrote:

There is a fix delivered by RnD in the same area that will most likely fix these type of errors. This fix is delivered in following releases

  1. 22.1.18 - 22R1 SU18
  2. 22.2.11 - 22R2 SU11
  3. 23.1.4 - 23R1 SU4
  4. 23.2E.0 - 23R2 EA

Hi @Lahirumala de Mel we are on 23.1.14 right now and we are missing the AcpImportBpaDeployment workflow definition.


I turned off the event action to try to circumvent this workflow to import, but now I cannot even turn the event action back on since the definition is missing.
 

Any thoughts on what we can do to fix this?


Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 32 replies
  • February 6, 2025

@Lahirumala de Mel Any solution on this? It has come up again as an issue for us.


Forum|alt.badge.img+1
  • Do Gooder (Employee)
  • 6 replies
  • February 7, 2025
dritter wrote:

@Lahirumala de Mel Any solution on this? It has come up again as an issue for us.

Seems WF did not get installed automatically. In this case the easiest workaround is to upload the ‘AcpImportBpaDeployment’ WF manually.  Before that, you might need to delete the existing deployment as no versions are showing under the ‘AcpImportBpaDeployment’ (this is according to the attached image in previous post).

We also would like to see the data set on ‘BPA_MODEL_STAGE_TAB’ tab. So please share that with us.


Forum|alt.badge.img+1
  • Do Gooder (Employee)
  • 6 replies
  • February 7, 2025
Chanaka Perera wrote:
dritter wrote:

@Lahirumala de Mel Any solution on this? It has come up again as an issue for us.

Seems WF did not get installed automatically. In this case the easiest workaround is to upload the ‘AcpImportBpaDeployment’ WF manually.  Before that, you might need to delete the existing deployment as no versions are showing under the ‘AcpImportBpaDeployment’ (this is according to the attached image in previous post).

We also would like to see the data set on ‘BPA_MODEL_STAGE_TAB’ tab. So please share that with us.

In my previous comment, I mentioned that you might need to delete the existing ‘AcpImportBpaDeployment’ record from the UI. But it is NOT required. When uploading a WF with the same process key, the system will create a new version.


Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 32 replies
  • February 7, 2025
Chanaka Perera wrote:
Chanaka Perera wrote:
dritter wrote:

@Lahirumala de Mel Any solution on this? It has come up again as an issue for us.

Seems WF did not get installed automatically. In this case the easiest workaround is to upload the ‘AcpImportBpaDeployment’ WF manually.  Before that, you might need to delete the existing deployment as no versions are showing under the ‘AcpImportBpaDeployment’ (this is according to the attached image in previous post).

We also would like to see the data set on ‘BPA_MODEL_STAGE_TAB’ tab. So please share that with us.

In my previous comment, I mentioned that you might need to delete the existing ‘AcpImportBpaDeployment’ record from the UI. But it is NOT required. When uploading a WF with the same process key, the system will create a new version.

@Chanaka Perera  Where can I find the .bpmn file for this? It is not in any of our environments.


Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

You might be able to locate it in your code base. If not I suggest to create a support ticket for IFS and get help from them to get the file.

Anyhow, it would be interesting to know what has caused this. There is probably some error during deployment that has caused for the Workflow to not get deployed. That should probably be logged in the oData startup log. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings