Skip to main content
January 17, 2025
Question

Pass a variable to another Interface through a RecordType related Action

  • January 17, 2025
  • 6 replies
  • 0 views

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 ?

6 replies

mathieud0001
January 17, 2025

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.

January 17, 2025

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)

mathieud0001
January 17, 2025

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.

 [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] has a nice post on how to do this.

appian.rocks/.../