Why I start process by debug then it goes to end event directly but not shows the interface of process start form

as title

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to immortalvirgil

    Hi,

    In order to start a process by a!startProcess, you need to pass process model name and variables which are parameterised in your process model.

    You can pass process parameters as key value pair, where the keys are process parameter names and the values are parmeters' values. If any required parameters are missing or if the dictionary contains any entries that do not match parameters of the selected process model, the process will not start.

    Example:

    a!startProcess(
          processModel: cons!UPLOAD_STUDENT_TRANSCRIPT,/*CONSTANT POINTING TO PROCESS MODEL TO BE STARTED*/
          processParameters: {
    /*PARAMETERISED VARIABLES IN PROCESS MODEL*/
             employeeId: 12345,
             deadline: today()+30
         }
    )
Children
No Data