2024 Jun 26 8:26 AM
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.
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.
2024 Jun 26 10:34 AM
@Dan_Wroblewski , @eshrinivasan : Appreciate your inputs in this regard. Thanks.
2024 Jun 26 12:03 PM
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
2024 Jun 27 9:27 AM
This was the correct reply, and I was able to correct the issue with the design console. Thanks @PatrikMajer for your help!
2024 Jul 02 5:14 PM - edited 2024 Jul 02 5:15 PM
@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:
output parameters:
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.
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?
2024 Jul 03 10:13 AM
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
2024 Jul 03 1:17 PM - edited 2024 Jul 03 1:28 PM
Hey @PatrikMajer : I updated the mandatory attribute of all the output parameters and published it again.
After publishing I removed the dependency of the old action and added the new dependency, so that latest version gets reflected in the dependency.
But still its not reflecting the output parameter in the process.
Not able to understand the reason for this.
2024 Jul 05 2:42 PM
Hello,
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.
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.
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.