Object Attribute as Input Parameter of Java Actions

3
Dear Community, can someone tell me if it is possible to specify an object attribute as input parameter in a custom Java action? We would like to perform calculations based on attributes but missing the possiblity of choosing member of an object or something like that as input.    Thanks for your Help!
asked
1 answers
4

Hi Frederik,

You can do one of two things:

  1. Pass the object to your Java action. In your Java code you will be able to retrieve the value of the attribute you want by calling object.getXYZ() where XYZ is your attribute
  2. Create a variable in your microflow and set it to the value of your object attribute, before passing it to your Java action.
answered