Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Update User Form Isn't Generating the request number

AshishDas
Regular Contributor II
Regular Contributor II

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:

AshishDas_0-1670264321468.png

Create a Create User Request on click View Status with two values:

AshishDas_1-1670264402697.png

27 REPLIES 27

rushikeshvartak
All-Star
All-Star

Does workflow is attached ?
are you updating fields


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AshishDas
Regular Contributor II
Regular Contributor II

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"}

tokenError is : null

Could you try simple auto approve workflow and check if request no is generated?

Start --> Grant Access --> End

This is known saviynt issue. if you click on update button it submits request.

Can you  share user request form screenshot


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ASA
Regular Contributor II
Regular Contributor II

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.

Its working now in my environment 2 months back it was issue


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

aro
Regular Contributor
Regular Contributor

It's there any solution? We have the same problem.

Share logs when you submit request 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ASA
Regular Contributor II
Regular Contributor II

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"}"

Is is mandatory ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ASA
Regular Contributor II
Regular Contributor II

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.

AshishDas
Regular Contributor II
Regular Contributor II

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.

AshishDas_0-1671025096674.png

 

ASA
Regular Contributor II
Regular Contributor II

Same here.

Share workflow


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AshishDas
Regular Contributor II
Regular Contributor II

Hi Rushi,

Even with Start --> Grant Access --> End workflow, we see the same error.

Share screenshot of workflow & request form & global config


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ASA
Regular Contributor II
Regular Contributor II

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.

@asa

@AshishDas 

Below is configuration

rushikeshvartak_0-1671038874945.pngrushikeshvartak_1-1671038893777.pngrushikeshvartak_2-1671038931025.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AshishDas
Regular Contributor II
Regular Contributor II

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.

Share screenshot of request form & request submission 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AshishDas
Regular Contributor II
Regular Contributor II

We also have termination date in Update user form.

Although it was working fine fine earlier, but suddenly stopped working

Though request ID is not getting generated are updates are still happening? if so can you check if below setting is checked?

 

sk_0-1671036265898.png

 


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

ASA
Regular Contributor II
Regular Contributor II

Updates are not happening. As I wrote before in our case it's working with Auto Approve Checkbox.

ASA
Regular Contributor II
Regular Contributor II

Opened a ticket for our customer now.

what is type of wf


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ASA
Regular Contributor II
Regular Contributor II

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.

Does request creating using postman ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.