Skip to content

Issue in Document, trigger process and Process and Workflow #23922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nidpri opened this issue Apr 16, 2025 · 1 comment
Open

Issue in Document, trigger process and Process and Workflow #23922

nidpri opened this issue Apr 16, 2025 · 1 comment

Comments

@nidpri
Copy link

nidpri commented Apr 16, 2025

Hi Colleague,

We were executing Experience SAP Build By Creating an End-to-End Sales Scenario for US Region.

URL - https://developers.sap.com/tutorials/build-apps-workflow-trigger.html

Steps to Reproduce :
Issue 1.

  1. Navigate to Step 8 - Add logic to trigger workflow

  2. Click on the Get Approval button, and open the logic canvas by clicking Add logic to Button1 at the bottom right.

  3. Drag a Trigger Process flow function onto the canvas, and connect the component tap event to it.

  4. Click on the Trigger Process flow function and configure it in the Properties pane on the right.
    For Process, this should already be set to Order Processing, since you have only one process enabled.

  5. Under Input Parameters, click the binding type.

  6. Select Formula.

  7. Click Save.

But here Save Button is disabled. Please see the screenshot below -

Image

Issue 2 - Run App

Document Issue

  1. Click the Launch tab, and then Open Preview Portal. There is no launch tab. It looks like this in tutorial document -

Image

Actual Image

Image

Issue 3 - Run App

  1. Click on Preview.
  2. Click on Open web preview.
Image
  1. Click on open sales order.
Image
  1. Enter the following values in your form: as per tutorial
  2. Click Get Approval.

Actual Issue - You should see the toast message indicating the workflow was triggered, and with the process instance ID.

Image

Issue- There is no toast message.

  1. Go to Process and Workflow Instances and you should see the same process ID as the toast message. But as after clicking Get
    Approval button, there is no toast message. Here also It should not reflect. But I am not able to open Process and workflow itself
    now
    and getting Permission issue, see the below image.
Image

Kindly do check these issue and provide me solution.

Regards,
Nidhi

@nidpri nidpri changed the title Issue in Issue in Document, trigger process and Process and Workflow Apr 16, 2025
@thecodester
Copy link
Contributor

I have rewritten the tutorial completely (I will again review it tomorrow).

Issue 1: I have rewritten the tutorial to make use of a new feature (described here, released April 11), which makes use of the ability to create a page variable from all types of existing schemas. In our case, the schema from the process. Therefore, we no longer use the formula that you could not save.

Issue 2: I have updated to use the relatively new Preview mechanism (at top of the project) that replaced the Launch capability.

Issue 3: This is more difficult to diagnose, since I cannot see your system but here are some guidelines.

  • Add an alert box from the second output of the Trigger Process flow function, and use the output of the Trigger Process, so we can see the error.
  • Assuming that the triggering failed, I would check the data that was passed -- e.g., if you send a string instead of number or vice versa, the triggering will fail, so you need to check your definition and what you are sending. Note that input boxes always return string so you would have to convert this to a number before sending to a number field. All that being said, with the new automatic schema feature, this will be less of a problem.
  • You will need ProcessAutomationAdmin role to be able to see the Monitoring tab.

I have also fixed the issue of importing the project, since you can no longer import a project inside an existing project, but must import into the lobby as a new project. I have also updated screenshots throughout.

Note I did not update the instructions for creating the app from scratch -- I will check later this week. I will also work on the other tutorials in that mission.

Please let me know if you can get it all to work with the new tutorial -- it will not take long even if you have to create the app from scratch.

Thanks for bring to my attention. 😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants