Take the description of a group within another group

Hello
Within a project of my own, I created the group "AutodealersOffice".
Within this group I have two groups:
AutodealersOffice Name Description Office21 Office21 Office45 Office45
Inside Office21 is the name of my user and inside Office45 there is another user. Apart I have an interface with a form with three fields. In the first fields automatically loads, through an expression rule, the office in which I am (Office21)
and when I click on the send button, it is stored in my autodealers field, of the BB.DD, as [Group: 66].
What I want to do is convert that [Group: 66] to Office21 and by clicking on the send button it will be saved as Office21.               In the a! save I have this but it's wrong

a!pickerFieldGroups(
label: "AutodealersOffice",
labelPosition: "ADJACENT",
maxSelections: 1,
groupFilter: local!gruop,
value: rule!getOffice(),
saveInto: {
a!save(ri!new.autodealers,rule!getOffice(group(togroup(ri!new.autodealers),"description")))
},
required: true,
readonly: true,
validations: {}
),

THANKS

  Discussion posts and replies are publicly visible

Parents Reply
  • It does not work for me:

    a!save(ri!new.autodealers,rule!getOffice(group(togroup(ri!new.autodealers),"description")))
    that is, I want to send, save in my bb.dd, Office21 and not [Group: 66]

    This is the action of saving when you press the send button

    a!buttonWidget(
    label: "Send",
    value: true,
    saveInto: {
    a!save(ri!new.solicId, local!caseRandom),
    a!save(ri!new.applicant,loggedInUser()),
    a!save(ri!new.autodealers,rule!getOffice())
    },
    submit: true,
    style: "PRIMARY"
    )
     


Children
No Data