I need to create "start" button as related action .when i click on start it should check the status for that particular request if status is "Approved" then the api call should happen .and request will end .But we click on start then process model should start (will not any interface after clicking start)Is it possible to create this related action without creating an interface. If yes,then how the start button will know which ID form it needs to call.
Discussion posts and replies are publicly visible
Hello ZAINAB You can create a related action for this and you don't need to have any User interface. But instead of checking for the Status after triggering the process you can avoid showing the Related action until the status is Approved.
Since its a related action you can always use the context from the record and pass it to the Parameter of your process model
Hi Konduru Chaitanya ,Yes, the related action will be visible once status is approved I'm getting below error when i click on related action buttonmy recordprocess model
can you please help me with this
I think there is a difference in the names of the variable created in the process and mentioned in the processParameters. The R for a variable name ending with request is small at one place and capitalized in another. Can you check if that is causing this error?
Your parameters in the Related action will be case sensitive. Make sure your PV and the parameter names match.
Are the requests that are returned by the rule multiple?
In that case you will need the Variable to be defined as Multiple.