Skip to main content
Participating Frequently
Feb 17, 2023 11:09 AM UTC
Question

Start process model

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
    Feb 17, 2023 11:52 AM UTC

    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.

    Participating Frequently
    Feb 17, 2023 12:13 PM UTC

    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
    Feb 17, 2023 12:18 PM UTC

    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.

    Known Participant
    Feb 24, 2023 4:38 AM UTC

    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)
                      }
                    ),