Automate

 View Only
  • 1.  Workflow for article creation in SAP

    Posted 03-15-2022 10:29
    Hello,

    I have a question about the workflow in the solution.

    The workflow works in such a way that the originator gives the input for the item creation and fills in all the required fields.

    The next step is done by another department. This department checks the input and rejects the request if there are any errors. If everything is in order, it will approve the request.

    The article creation (web service) is also done by the second department.

    Is it possible to specify in the workflow that the second department can only approve the request after it has created the article (web service is executed)?

    There are fields that contain a value only after the item has been created.

    Thanks for the help.

    Kind regards
    Jasmin

    ------------------------------
    Jasmin Hug | Controller
    Rigips AG | 0041 62 887 44 58
    ------------------------------


  • 2.  RE: Workflow for article creation in SAP

    Employee
    Posted 03-15-2022 12:16
    Hi Jasmin

    Yes, you can use custom buttons for all views or certain views and check the logfield (and others) and if not filled in correctly, pop-up a message that they need to post before approving.  Something like this:
    click on the workflow canvas and check properties - this turns off default buttons for all views - you can choose views for default buttons here

    added my own buttons

    rule on approve - I was checking on two scripts posting properly

    if all correct do a form action of approve


    Hope that helps,
    Sigrid


    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: Workflow for article creation in SAP

    Posted 03-18-2022 10:05
    Hi Sigrid,

    Thank you for the explanantions. That helped a lot.

    I wish you a nice weekend.

    BR
    Jasmin

    ------------------------------
    Jasmin Hug | Controller
    Rigips AG | 0041 62 887 44 58
    ------------------------------



  • 4.  RE: Workflow for article creation in SAP

    Posted 03-23-2022 03:29
    Hi Sigrid,

    I prepared my own buttons and it works. There is now a follow up problem.

    In the workflow I used this kind of element:

    If I start the solution now, I see my own buttons (1) and the official buttons (2). But if I used another element for the task, I didn't could see my own created buttons.


    Is there an option to hid the official buttons or have I to use an other element?

    Best regards,
    Jasmin


    ------------------------------
    Jasmin Hug | Controller
    Rigips AG | 0041 62 887 44 58
    ------------------------------



  • 5.  RE: Workflow for article creation in SAP

    Employee
    Posted 03-23-2022 12:03
    Hi Jasmin
    Please follow these steps:
    • go to the workflow tab
    • click on the canvas - not a node.  
    • Go to the properties.
    • Look for Form Default buttons - I have a screen shot in my first reply.  You can have them for all views, no views or selective views.  Default is all views.
    • Choose which views will have default buttons.  
    When I use custom buttons, I typically turn them off on all views, but you can selectively turn them on or off by listing the views you want them on.
    FYI
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------