Hello all,
Newish to Appian. I am trying to pass inputs to the Process Post Request API and am getting "null" as a return and the process does not start correctly. I am assuming this is due to my process containing a pv of a CDT rather than separate fields.
My question is: does the request body change per api, what should I pass, and is it possible to merge both get and pull requests into one api?
Discussion posts and replies are publicly visible
Can you share a few more details? Do you follow any tutorial? Code snippets? Screenshots?
Hey Stefan, thanks for the reply.
I followed the Process Model API tutorial: Pass a Web API Document Upload into a Process Model - Appian 21.3
Here's the error I'm receiving:
I'm thinking I need to create an expression rule that'll assign values to the CDT?
How are you starting the process in the case that is generating an error? Are you running it via debugging, or calling the API? In this case you will need to make sure data is passed into the process when it starts, since the process nodes are expecting some data.
If you're using this in the tutorial, you should make sure you're passing in the studentId as a parameter, since that's what is being used to query and update data.
I think more screenshots / description of how your process is configured and started could help us provide a good suggestion for what to look at.