Skip to main content
February 17, 2023
Question

Start process model

  • February 17, 2023
  • 12 replies
  • 0 views

How to Start a process model with out start form or how write expressions for for button to start process model in interface

    12 replies

    stefanhelzle0001
    Brainy
    February 17, 2023

    While you can easily add a a!startProcess() to the saveInto parameter of any button, there might be a different way which is more Appian-style. When you describe the background of your ask, we might be able to help you in getting there.

    February 17, 2023

    I Have created a process model which gets the file from cloud using API but im not able to start the process model to test it,its  asking for start form interface how to start without interface

    stefanhelzle0001
    Brainy
    February 17, 2023

    How would you want to trigger this model? Timer, API call, manual?

    In the process modeller, you can start any model for debugging from the "File" menu.

    February 24, 2023

    You can write code as like below

    link: a!startProcessLink(
                      processModel: cons!KBS_PM_CATEGORY_ACTION,
                      processParameters: {
                        cancel: null,
                        /*categoryId: null,*/
                       
                        StatusChange: true,
                        record: rule!KBS_GetCategoryById(catId: fv!identifier)
                      }
                    ),