SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Build process automation

YogSSohanee
Participant
0 Kudos
637

Hello Experts,

We are creating a Build process in Build process automation and as a part of that I have created a process and within this main process I have created some automations. Now when i am trying to release these automations along with the process, I am getting these errors. 

YogSSohanee_0-1719386268523.png

Has anyone already faced this. I tried to check where the status of these artifacts are maintained, but could not find it so far. Any help would be really appreciated. Thanks.

7 REPLIES 7

YogSSohanee
Participant
602

@Dan_Wroblewski , @eshrinivasan : Appreciate your inputs in this regard. Thanks.

PatrikMajer
Explorer
585

Hello,

It is not possible to release the project since there are some errors in your automations.

Open the automations you have created and look at the design console at the bottom of the screen. There will be an explanation what is the reason for the error.

Patrik

YogSSohanee
Participant
0 Kudos
529

This was the correct reply, and I was able to correct the issue with the design console. Thanks @PatrikMajer for your help!

YogSSohanee
Participant
0 Kudos
478

@PatrikMajer : Thanks for your help earlier. In continuation with that I am in need with one more issue. Please extend your help here. 

I have created a destination in BTP and based on this destination created an action in the process automation. This action has input and output parameters in the body. 

input parameters:

YogSSohanee_1-1719934200346.png

output parameters:

YogSSohanee_2-1719934282877.png

And on testing the action from the test tab, i get required output. 

I added this action in a process in the Build process automation. As per my understanding, the input and output parameters of this action shown above, should be automatically added in the step of the process.

 

YogSSohanee_4-1719936553600.png

 

YogSSohanee_3-1719936476099.png

Although the input parameters get enabled and shown in the action display in the process, but the output parameter doesnt seem to be reflecting automatically here. 

I followed this link to implement the action part in the process automation, but in this link they have used standard S4HANA odata apis where as in my case I have not used a Odata api. Any suggestions what I might be doing wrong here?

PatrikMajer
Explorer
0 Kudos
436

Hi @YogSSohanee ,

I am not sure if this will help, but try to set the outputs as mandatory. Release and publish the action again.

Patrik

YogSSohanee
Participant
0 Kudos
424

Hey @PatrikMajer : I updated the mandatory attribute of all the output parameters and published it again. 

YogSSohanee_0-1720008851213.png

 

YogSSohanee_3-1720009010856.png

 

 

After publishing I removed the dependency of the old action and added the new dependency, so that latest version gets reflected in the dependency. 

YogSSohanee_1-1720008919907.png

But still its not reflecting the output parameter in the process. 

Not able to understand the reason for this.

 

 

YogSSohanee
Participant
365

Hello,

@PatrikMajer 

Found the root cause why it was not populating the output parameters in the action step in the process. 

When we create action project from scratch i.e. not via Odata, the output parameter needs to be generated with a different apporach.

YogSSohanee_0-1720186658843.png

Steps are something like this:

1)Create the action

2)Create input parameters

3)Do not create output parameters manually

4)In the Test section, trigger the API call after selecting the correct destination. 

5) Go into this section of the API output, and click on Generate Output.

YogSSohanee_1-1720186858403.png

6) This will make sure the correct metadata for the api output gets picked, and it will automatically create the output parameters. 

7) Now with this setup, you can easily get the output parameters in the process flow when you add this action as a step.