Search

1 to 10 of 14
Sort by

Discussion Reply
RE: Site Defined Condition to Identify User Access Type

If I understood correctly you want to set this access type from user interface. You can create in some object for example status custom attribute zaccess type and add this field to status form. After that you can get this status in condition macro with dob by persid method and use in check. That...


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

in a site defined condition you can set it up so that you can observe the value of an attribute. is there a way to expose this attribute so rather than having a hard coded value in a spel script we have the ability to configure the value and re-use this if need be in other places.


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

Of course you can check id of access type if you like. Please explain in more detail what do you mean by: provide just the access type value so that way we can observe


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

Question, instead of returning true or false is there a way to provide just the access type value so that way we can observe that rather than hardcoding it in?


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

Thank you so much Sigitas I'll give this a whirl.


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

I created condition macro. -- Original Message: Sent: 12-10-2019 02:33 PM From: Joel Barger Subject: Site Defined Condition to Identify User Access Type Bump! Original Message: Sent: 12-09-2019 12:11 PM From: Joel Barger Subject: Site Defined Condition to Identify User Access Type I would...


Discussion Reply
RE: Site Defined Condition to Identify User Access Type

Hello, Code of macro: uuid who; object zaccess; send wait(0,top object(), "call attr", "cnt", "current user id"); who=msg[0]; send wait(0, top object(), "call attr", "api", "get access for contact", (string)who); if (msg error()) ( logf(ERROR, "get access for contact failed %s",msg[0]); ) else (...



Discussion Post
Site Defined Condition to Identify User Access Type

I would like to introduce a site defined condition to prevent problems from transitioning to closed without a certain access type being applied to the currently logged in user. For Example roughly site defined condition: user.access type.sym = "Analyst MGR" How is this accomplished? Any help is...