Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2534 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
#GroupObjectError ISSUE: Group process variables setting strangely
iainf
over 11 years ago
#GroupObjectError
ISSUE:
Group process variables setting strangely
DETAILS:
If we monitor a process and view the variable in question (see here:
http://db.tt/nxFElqOv
and here:
http://db.tt/jd2iFSkp)
we see it defined as "-1".
If we look at the process details page in the backend, the group looks null (see here:
http://db.tt/YIHT7BqB)
QUESTIONS:
How can we handle this object (to filter on it for example) - it is not null, in the sense that it does not respond to isnull checks.
How does it get created?...
OriginalPostID-79163
OriginalPostID-79163
Discussion posts and replies are publicly visible
Parents
0
arpitg
over 11 years ago
Hi Siva,
I have installed this plugin and found the following- have you seen this sort of behaviour before:
Try the function doesgroupexist() on pv!processviewergroups[1] [Sometimes showing http://db.tt/jd2iFSkp and sometimes showing http://db.tt/YIHT7BqB ]
Throws the error:
There is a problem with task “DoesGroupExist” in the process “Ms Jenna Lawrence”. ERROR:An error occurred while evaluating expression: ClientSatisfactionQuestionnaire:doesgroupexist(pv!ProcessViewerGroups) (Expression evaluation error at function 'doesgroupexist': Error evaluating function 'doesgroupexist' : The passed parameter(s) are of the wrong type.) (Data Outputs)
One supposes that perhaps the issue is, in fact, with the datatype of the object.
Run the following expression over the variable (down the report)
=exact(typename(typeof(pv!ProcessViewerGroups)), "List of User or Group")
Returns True
So the curious object just got a bit more curious.
It both has and has not got the correct type.
It is both a list of groups and not a list of groups.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
arpitg
over 11 years ago
Hi Siva,
I have installed this plugin and found the following- have you seen this sort of behaviour before:
Try the function doesgroupexist() on pv!processviewergroups[1] [Sometimes showing http://db.tt/jd2iFSkp and sometimes showing http://db.tt/YIHT7BqB ]
Throws the error:
There is a problem with task “DoesGroupExist” in the process “Ms Jenna Lawrence”. ERROR:An error occurred while evaluating expression: ClientSatisfactionQuestionnaire:doesgroupexist(pv!ProcessViewerGroups) (Expression evaluation error at function 'doesgroupexist': Error evaluating function 'doesgroupexist' : The passed parameter(s) are of the wrong type.) (Data Outputs)
One supposes that perhaps the issue is, in fact, with the datatype of the object.
Run the following expression over the variable (down the report)
=exact(typename(typeof(pv!ProcessViewerGroups)), "List of User or Group")
Returns True
So the curious object just got a bit more curious.
It both has and has not got the correct type.
It is both a list of groups and not a list of groups.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data