Skip to main content
February 10, 2023
Question

WEB API to start a process

  • February 10, 2023
  • 11 replies
  • 0 views

I have a WEB API that starts a process with a start form and writes data to the record using the 'Write Records' smart service. When i test the WEB API, I get the following error.

The Write Record configuration looks like this.

    11 replies

    harshitb6843
    February 10, 2023

    Can you also show the properties of the pv!record variable in process properties? 

    February 10, 2023

    the process model works fine. But when i use it in web api it gives the above error

    harshitb6843
    February 10, 2023

    You mentioned that you used a startForm. To me, it sounds confusing as it only makes sense when someone manually triggers that process from the Appian. What was the reason behind it?

    abhayd3663
    February 10, 2023

    Use of start form doesn't look appropriate for your use case. Instead use User Input Task immediately after start node and make sure the RI data types are correct. 

    February 14, 2023

    I did this. Now when the integration is called in Application 1, the user input task form is assigned as a task in Application 2. I want the user input task to open in Application 1 itself.

    abhayd3663
    February 21, 2023

    You can control and configure the task assignments from the Assignment tab and have the activity chaining to achieve the wizard like functionality.