12/05/2022 10:17 AM - edited 12/05/2022 10:20 AM
Hi,
We have recently seen a weird behavior with update user form. The update user form which was originally generating the request number on submission is no more generating the same. Also, we cannot see it in the Pending approvals queue.
Could there be some configuration that could have been mistakenly turned off? or this could be a bug?
Also, if we click on view status when a update user request is generated(without the request number though), it generates a create user request, with two attributes of the user that was, hide on update in the form. One for a dynamic attribute and one for username.
No Request number Generated:
Create a Create User Request on click View Status with two values:
12/05/2022 03:32 PM
Does workflow is attached ?
are you updating fields
12/05/2022 11:46 PM - edited 12/05/2022 11:48 PM
A custom workflow is attached. We even tried changing the workflow to a standard manager workflow. Same result. Initially it was working.
We see the following error :
"log":"groovy.lang.MissingMethodException: No signature of method: static org.apache.commons.lang.StringUtils.isNotEmpty() is applicable for argument types: (java.sql.Timestamp) values: [2022-11-16 00:00:00.0]\n","stream":"stdout","time":"2022-12-06T06:00:27.859865521Z"}
12/06/2022 03:37 AM
Could you try simple auto approve workflow and check if request no is generated?
Start --> Grant Access --> End
12/06/2022 07:54 PM
This is known saviynt issue. if you click on update button it submits request.
Can you share user request form screenshot
12/21/2022 12:47 AM
Hi Rushikesh,
do you have any updates? You wrote that this is a know issue. Is there a ticket in progress and can we expect a fix? Otherwise I would open a ticket myself now.
12/21/2022 07:27 AM
Its working now in my environment 2 months back it was issue
12/14/2022 02:15 AM
It's there any solution? We have the same problem.
12/14/2022 03:36 AM
Share logs when you submit request
12/14/2022 04:17 AM
Seems to occur if there are dynamic attributes of type DATE in user request form. Stack trace is this:
"ecm","2022-12-14T09:58:11.293+0000","{"log":"groovy.lang.MissingMethodException: No signature of method: static org.apache.commons.lang.StringUtils.isNotEmpty() is applicable for argument types: (java.sql.Timestamp) values: [2014-01-06 00:00:00.0]\n","stream":"stdout","time":"2022-12-14T09:58:10.885789646Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"Possible solutions: isNotEmpty(java.lang.String), isEmpty(java.lang.String)\n","stream":"stdout","time":"2022-12-14T09:58:10.885795022Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.services.WorkflowService$_workflowaccessreqStart_closure7_closure302.doCall(WorkflowService.groovy:634)\n","stream":"stdout","time":"2022-12-14T09:58:10.885799149Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.services.WorkflowService$_workflowaccessreqStart_closure7.doCall(WorkflowService.groovy:629)\n","stream":"stdout","time":"2022-12-14T09:58:10.885803521Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.services.WorkflowService.workflowaccessreqStart(WorkflowService.groovy:592)\n","stream":"stdout","time":"2022-12-14T09:58:10.885808152Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.services.changeaction.UserChangeActionService$_createRequest_closure150.doCall(UserChangeActionService.groovy:9234)\n","stream":"stdout","time":"2022-12-14T09:58:10.885812416Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:814)\n","stream":"stdout","time":"2022-12-14T09:58:10.885816427Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:714)\n","stream":"stdout","time":"2022-12-14T09:58:10.885820444Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.services.changeaction.UserChangeActionService.createRequest(UserChangeActionService.groovy:9081)\n","stream":"stdout","time":"2022-12-14T09:58:10.885824412Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.ecm.identitywarehouse.controllers.UsersController$_closure10.doCall(UsersController.groovy:822)\n","stream":"stdout","time":"2022-12-14T09:58:10.885828349Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)\n","stream":"stdout","time":"2022-12-14T09:58:10.885832331Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:144)\n","stream":"stdout","time":"2022-12-14T09:58:10.885836779Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)\n","stream":"stdout","time":"2022-12-14T09:58:10.885854528Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)\n","stream":"stdout","time":"2022-12-14T09:58:10.88585891Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)\n","stream":"stdout","time":"2022-12-14T09:58:10.885862883Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)\n","stream":"stdout","time":"2022-12-14T09:58:10.885866829Z"}"
"ecm","2022-12-14T09:58:11.293+0000","{"log":"\u0009at java.lang.Thread.run(Thread.java:750)\n","stream":"stdout","time":"2022-12-14T09:58:10.88587067Z"}"
12/14/2022 04:20 AM
Is is mandatory ?
12/14/2022 04:34 AM
We already tried making it non-mandatory since that was our first guess too. It is also occuring then. If you remove user column mapping too it is working.
12/14/2022 05:38 AM
I can see in the logs that a request is created but that does not show up in the request approvals and neither a request number is generated.
12/14/2022 05:42 AM
Same here.
12/14/2022 05:47 AM
Share workflow
12/14/2022 05:50 AM
Hi Rushi,
Even with Start --> Grant Access --> End workflow, we see the same error.
12/14/2022 05:51 AM
Share screenshot of workflow & request form & global config
12/14/2022 05:54 AM
Yes, same here. Occurs even with standard auto approve workflow. Does not occur if we check "Auto Approve User Modification" without workflow. I guess because no request is created in that case.
12/14/2022 09:28 AM
12/14/2022 10:41 PM
Hi Rushi,
Thank you for the screenshots. However, this also does not show up request number.
But if I update the Date value attribute of a user, only in such requests it shows the request number. For updating of other attributes, it shows blank in the request number column.
12/15/2022 04:13 AM
Share screenshot of request form & request submission
12/14/2022 04:25 AM
We also have termination date in Update user form.
Although it was working fine fine earlier, but suddenly stopped working
12/14/2022 08:44 AM
Though request ID is not getting generated are updates are still happening? if so can you check if below setting is checked?
12/15/2022 12:54 AM
Updates are not happening. As I wrote before in our case it's working with Auto Approve Checkbox.
12/22/2022 07:12 AM
Opened a ticket for our customer now.
12/22/2022 07:24 AM
what is type of wf
12/22/2022 07:36 AM
You mean parallel/serial? The default auto approve WF is parallel.
But I don't think it has anything to do with workflow. The request creation itself is failing.
12/22/2022 07:42 AM
Does request creating using postman ?