How to show form using a!startProcess()

Certified Associate Developer

Hello,

 

Is there a way through which we can show form to the users using a!startProcess()? I'm working on one issue where there is a requirement to get value from the link and need to pass that value as a parameter to the process model and executes the form which resides there as a start form. As we are using multiple links for different purpose, I used dynamicLink to capture the required value and now trying to call a!startProcess from saveInto field of dynamiclink. The process is getting executed but form didn't shows up may be due to asynchronous behavior of a!startProcess(). Can someone please tell me whether it is possible to show the form using this function or any other alternative is there which I can use?

 

Thanks in advance

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    If you are using Appian 17.4 then you can use a!startProcessLink() to achieve this. Before version 17.4 I do not think there is a way to accomplish this.
  • 0
    Certified Associate Developer
    in reply to Josh
    Hey Josh,

    Thanks for your reply. I already tried with a!startProcessLink() but my issue here is that I'm using multiple links and on the basis of users click I'm trying to fetch the value from the link.

    for eg: Suppose I have one array variable lets say "uri" which consists of three links lets say

    https://../../12
    https://../../13
    https://../../14

    Now I'm fetching the values from these links to one another array variable lets say "Value". Such that Value contains 12,13,14. If user clicks on first link that I want 12 to sent as a parameter. Similarly for other two links, As a!startProcessLink doesn't have any way to save values I'm not able to pass the required value in process model. Either I can send all the values i.e. 12,13 and 14 to the process model or else only one value will get passed no matter which link I click.
  • 0
    Certified Lead Developer
    in reply to viveku3486
    Could you have a list of a!startProcessLinks and parametrize the process parameter? Ex. a!forEach(items: ri!uriList, expression: a!startProcessLink(processParameters: {value: rule!someRuleToParseValueFromLink(fv!item)}))
Reply Children