Anonymous_User Absent Member.
Absent Member.
178 views

Inconsisant query results


Hello

We have 4 Build environments that run UserApp (Prod - Staging - Test -
Dev) Very recently we have noticed workflows that we have deployed to
one environment will not run in the others dispite the code (both PRD
and queries etc) being excatly the same. In one case we had a workflow
that was working fine in Dev - Test - Stag but implementing into Prod
caused the queries to not run.

We can see a value being set before the query runs, however it is just
about like the query never returns a result, to my knowledge nothing has
changed on the environment that would lead to this happening, and I do
not believe it is a data issue in the environment.

have flushed cache, deleted and added, then re-imported workflows and
queries back into the environment, and then restarted UserApp for good
measure... no change in behaviour.

This does not effect all workflows in the environment just one or two.

1) Is there anyway to trace exactly what a global query is doing
2) Are there userapp known bugs for this type of behaviour
3) any other suggestions

cheers

David


--
davidhibbard
------------------------------------------------------------------------
davidhibbard's Profile: https://forums.netiq.com/member.php?userid=437
View this thread: https://forums.netiq.com/showthread.php?t=46075

Labels (1)
0 Likes
2 Replies
jtl1 Absent Member.
Absent Member.

Re: Inconsisant query results

Hello,

Yes, You can turn on LDAP trace in (dstrace in imonitor).

You can also add logging in your workflow with the log activity or send output to the console log (server log) using
java.lang.System.out.println()

If you want to to basic debugging in a form alert is an easy way to displaying info.

Best regards,
Tobias

On 2012-11-05 01:14, davidhibbard wrote:
>
> Hello
>
> We have 4 Build environments that run UserApp (Prod - Staging - Test -
> Dev) Very recently we have noticed workflows that we have deployed to
> one environment will not run in the others dispite the code (both PRD
> and queries etc) being excatly the same. In one case we had a workflow
> that was working fine in Dev - Test - Stag but implementing into Prod
> caused the queries to not run.
>
> We can see a value being set before the query runs, however it is just
> about like the query never returns a result, to my knowledge nothing has
> changed on the environment that would lead to this happening, and I do
> not believe it is a data issue in the environment.
>
> have flushed cache, deleted and added, then re-imported workflows and
> queries back into the environment, and then restarted UserApp for good
> measure... no change in behaviour.
>
> This does not effect all workflows in the environment just one or two.
>
> 1) Is there anyway to trace exactly what a global query is doing
> 2) Are there userapp known bugs for this type of behaviour
> 3) any other suggestions
>
> cheers
>
> David
>
>


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Inconsisant query results


One common cause of this type of behavior is different directory rights
between the environments. Depending on how the PRDs are implemented, the
queries may utilize the logged in user rights. Commonly dev/test
environments have greater rights assignments but those rights are
typically locked down in QA/Prod environments. Remember: your data
security needs to implemented at the data store (eDirectory), not
(totally) in the application interfaces (user app).


--
pcook
------------------------------------------------------------------------
pcook's Profile: https://forums.netiq.com/member.php?userid=429
View this thread: https://forums.netiq.com/showthread.php?t=46075

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.