Highlighted
frankabhinav Super Contributor.
Super Contributor.
851 views

Workflow error when login with diff user

I have created an worklow inside designer and deployed . The workflow is working perfect for uaadmin.sa.system but when i am running the same workflow from different user tuser01.users.data . I am getting error

Application Name: Script error in idvault.globalQuery()


and when i see my catalina.out . I see the following error

2018-02-09 15:29:50,688 [http-bio-8180-exec-4] WARN  com.netiq.idm.auth.oauth.OAuthManager- [RBPM] Token validation failed. HTTP s
tatus code: 401 Detail message from authentication server: The access token is expired.
2018-02-09 15:30:00,213 [http-bio-8180-exec-12] ERROR com.novell.ajax.juice.AjaxServiceHandlerMgr- [RBPM] An error occurred proces
sing the request.
java.lang.NullPointerException
at com.novell.srvprv.impl.servlet.service.DNLookup.delegatedExecute(DNLookup.java:209)
at com.novell.ajax.juice.CachedService.execute(CachedService.java:255)
at com.novell.ajax.juice.CachedService.execute(CachedService.java:174)
at com.novell.ajax.juice.AjaxServiceHandlerMgr.handleRequest(AjaxServiceHandlerMgr.java:88)
at com.novell.ajax.juice.servlet.UIQueryServlet.doPost(UIQueryServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.novell.common.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
Labels (1)
0 Likes
3 Replies
wschreiber1 Absent Member.
Absent Member.

Re: Workflow error when login with diff user

IDVault operations in the form like IDVault.get() or globalQuery() use
the logged-in user's privileges.
IDVault operations in the workflow, e.g., in mapping activities, use
admin rights.

Make sure that your users have the rights to retrieve the needed data in
the form.

Wolfgang

On 09/02/2018 12:26, frankabhinav wrote:
>
> I have created an worklow inside designer and deployed . The workflow is
> working perfect for *uaadmin.sa.system * but when i am running the same
> workflow from different user *tuser01.users.data* . I am getting error
>
>> Application Name: Script error in idvault.globalQuery()

>
> and when i see my catalina.out . I see the following error
>
>
> Code:
> --------------------
> 2018-02-09 15:29:50,688 [http-bio-8180-exec-4] WARN com.netiq.idm.auth.oauth.OAuthManager- [RBPM] Token validation failed. HTTP s
> tatus code: 401 Detail message from authentication server: The access token is expired.
> 2018-02-09 15:30:00,213 [http-bio-8180-exec-12] ERROR com.novell.ajax.juice.AjaxServiceHandlerMgr- [RBPM] An error occurred proces
> sing the request.
> java.lang.NullPointerException
> at com.novell.srvprv.impl.servlet.service.DNLookup.delegatedExecute(DNLookup.java:209)
> at com.novell.ajax.juice.CachedService.execute(CachedService.java:255)
> at com.novell.ajax.juice.CachedService.execute(CachedService.java:174)
> at com.novell.ajax.juice.AjaxServiceHandlerMgr.handleRequest(AjaxServiceHandlerMgr.java:88)
> at com.novell.ajax.juice.servlet.UIQueryServlet.doPost(UIQueryServlet.java:207)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.common.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:197)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
>
> --------------------
>
>

0 Likes
frankabhinav Super Contributor.
Super Contributor.

Re: Workflow error when login with diff user

Thanks Wolfgang

Can you provide with a KB or Link so I can provide users with rights to retrieve the needed data because i have already tried using trustee DN.



wschreiber;2475246 wrote:
IDVault operations in the form like IDVault.get() or globalQuery() use
the logged-in user's privileges.
IDVault operations in the workflow, e.g., in mapping activities, use
admin rights.

Make sure that your users have the rights to retrieve the needed data in
the form.

Wolfgang

On 09/02/2018 12:26, frankabhinav wrote:
>
> I have created an worklow inside designer and deployed . The workflow is
> working perfect for *uaadmin.sa.system * but when i am running the same
> workflow from different user *tuser01.users.data* . I am getting error
>
>> Application Name: Script error in idvault.globalQuery()

>
> and when i see my catalina.out . I see the following error
>
>
> Code:
> --------------------
> 2018-02-09 15:29:50,688 [http-bio-8180-exec-4] WARN com.netiq.idm.auth.oauth.OAuthManager- [RBPM] Token validation failed. HTTP s
> tatus code: 401 Detail message from authentication server: The access token is expired.
> 2018-02-09 15:30:00,213 [http-bio-8180-exec-12] ERROR com.novell.ajax.juice.AjaxServiceHandlerMgr- [RBPM] An error occurred proces
> sing the request.
> java.lang.NullPointerException
> at com.novell.srvprv.impl.servlet.service.DNLookup.delegatedExecute(DNLookup.java:209)
> at com.novell.ajax.juice.CachedService.execute(CachedService.java:255)
> at com.novell.ajax.juice.CachedService.execute(CachedService.java:174)
> at com.novell.ajax.juice.AjaxServiceHandlerMgr.handleRequest(AjaxServiceHandlerMgr.java:88)
> at com.novell.ajax.juice.servlet.UIQueryServlet.doPost(UIQueryServlet.java:207)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.common.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:197)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
>
> --------------------
>
>
0 Likes
cpedersen Outstanding Contributor.
Outstanding Contributor.

Re: Workflow error when login with diff user

The rights are eDirectory rights, you need to assign the user(s) the
appropriate rights in eDirectory which are required for the Workflow to
work.


Casper

On 12.02.18 07:16, frankabhinav wrote:
>
> Thanks Wolfgang
>
> Can you provide with a KB or Link so I can provide users with rights to
> retrieve the needed data because i have already tried using trustee DN.
>
>
>
> wschreiber;2475246 Wrote:
>> IDVault operations in the form like IDVault.get() or globalQuery() use
>> the logged-in user's privileges.
>> IDVault operations in the workflow, e.g., in mapping activities, use
>> admin rights.
>>
>> Make sure that your users have the rights to retrieve the needed data
>> in
>> the form.
>>
>> Wolfgang
>>
>> On 09/02/2018 12:26, frankabhinav wrote:
>>>
>>> I have created an worklow inside designer and deployed . The workflow

>> is
>>> working perfect for *uaadmin.sa.system * but when i am running the

>> same
>>> workflow from different user *tuser01.users.data* . I am getting

>> error
>>>
>>>> Application Name: Script error in idvault.globalQuery()
>>>
>>> and when i see my catalina.out . I see the following error
>>>
>>>
>>> Code:
>>> --------------------
>>> 2018-02-09 15:29:50,688 [http-bio-8180-exec-4] WARN

>> com.netiq.idm.auth.oauth.OAuthManager- [RBPM] Token validation failed.
>> HTTP s
>>> tatus code: 401 Detail message from authentication server: The

>> access token is expired.
>>> 2018-02-09 15:30:00,213 [http-bio-8180-exec-12] ERROR

>> com.novell.ajax.juice.AjaxServiceHandlerMgr- [RBPM] An error occurred
>> proces
>>> sing the request.
>>> java.lang.NullPointerException
>>> at

>> com.novell.srvprv.impl.servlet.service.DNLookup.delegatedExecute(DNLookup.java:209)
>>> at

>> com.novell.ajax.juice.CachedService.execute(CachedService.java:255)
>>> at

>> com.novell.ajax.juice.CachedService.execute(CachedService.java:174)
>>> at

>> com.novell.ajax.juice.AjaxServiceHandlerMgr.handleRequest(AjaxServiceHandlerMgr.java:88)
>>> at

>> com.novell.ajax.juice.servlet.UIQueryServlet.doPost(UIQueryServlet.java:207)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at

>> com.novell.soa.common.i18n.BestLocaleServletFilter.doFilter(BestLocaleServletFilter.java:241)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at

>> com.novell.common.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:197)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> at

>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at

>> com.novell.afw.portal.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:135)
>>>
>>> --------------------
>>>
>>>

>
>


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.