Answered

how to get an attribute value from entity with string in filter

hello i got the attached entity and want to retrieve the userId by typing in the Name in a field within my form in bizagi but thsi does not work. is it only possible to retrieve values from entities by codes or integer values?

<Entscheidungsprozess.UserIDBet> = CHelper.getEntityAttrib("Beteiligte" , "UserId", "Mitarbeiter = 'Max Schnürle'");

this syntax doesnt work.. can someone help me?

Comments (1)

photo
1

Dear Max,

Please try to implement the expression as described below, according to your need:

  1. var sCode = "text";
  2. var Filter = "Code='"+sCode+"'";
  3. var ID = CHelper.getEntityAttrib("Parameter","idParameter", Filter);

Regards,

Support Team

Bizagi