Hi,
I have a very simple need :
I have a main Interface (Intf_A) displayed from an User Input task user of a process (Pr_A).
In that interface I have a Button (related Action) used to display another Interface (Intf_B) which is a start Form of another Process (Pr_B).
In Intf_A I have a Text field, and when I click on the Button, I need the text value to be passed to the IntF B.
How may I do this without saving first the Text value in DB ?
Discussion posts and replies are publicly visible
You could use a startProcessLink in lieu of the Record Action, you pass parameters to your process model (other than the identifier). Only caveat is that you can't have dialog box and it will be displayed in the full page.
Thank you Mathieu,
I had imagined such a solution, but unfortunately the customer needs to keep the dialog box.
And, if I consider saving first the text value in DB, I think I can not trigger this saving action from the Related Action because I can't pass the value to save, to the RecordType ?(or I have to add a new button in Intf_A to save first data in DB but it is not ideal)
You cannot trigger the save from the related action.
Another option could also be to display the form "inline" (within the same interface) and mimic a dialog box. You could then just pass those variables directly to the interface.
Stefan Helzle has a nice post on how to do this.
appian.rocks/.../
I've already tried this solution but it is not ideal too. And I would have a lot of components to break for so little, because in reality we have many interfaces connected to the initial form.If we forget the Intf_B, if this possible to trigger an automatic saving text value to DB (through a process), when the Texfield in Intf_A is losing the focus ?
Yes - you don't even need a process, you can just use https://docs.appian.com/suite/help/24.4/Write_Records_Smart_Service.html#a!writerecords() in the saveInto of your textField.
Yes, you're right, I've completely forgot we can just use the saveInto to trigger this smart service:-)I will try this solution (otherwise I could just add a "Save" button, but I will ask the customer what they prefer)
Thank you Mathieu.