and more in a single search tool across platforms. Read the announcement here. |
02/15/2024 07:49 AM
Hello. Does anyone see any issue with this section of the workflow? After manager approval, it should go to this part of the workflow but it never gets there. Manager can approve and approve multiple times and it won't get past here.
endpoints.customproperty1 is null for this endpoint.
Solved! Go to Solution.
02/15/2024 08:25 AM
@IAM it means not able to approve manager approval , still request is available in approval page?
02/15/2024 08:56 AM
Yes the manager would approve it but it doesn't go to grant access, it stays with manager.
02/15/2024 09:05 AM
@IAM send me Application Endpoint -> entitlementNewAccount tab Screenshot please once.
02/15/2024 09:09 AM
Nothing there. This is the workflow we use for AD based apps so a lot of different applications use this workflow.
02/15/2024 09:13 AM
@IAM please execute below query check it
which application causing issue , that endpointkey pass it below and result confirm please ?
select ENTSWITHNEWACCOUNT from endpoints where endpointkey=''
02/15/2024 09:15 AM
Hi Raghu. The screenshot I gave was one of the endpoints that for sure had the issue.
02/15/2024 09:30 AM
@IAM click on approve and share logs latest
02/15/2024 09:58 AM
Ok I had to revert the changes but I will set it up in dev environment and respond back.
02/15/2024 12:06 PM
I believe I found the error message relating to this
PropertyNotFoundException: Target unreachable, base expression '. customproperty1' resolved to null
"ecm","2024-02-15T19:54:52.867+00:00","{"log":"2024-02-15 19:54:52,271 [http-nio-8080-exec-2106] DEBUG services.WorkflowService - Before Approving Task Approved By Level 2 ApprovalUseraccount123 curTask=Task(Level 2 Approval)Params[xtaskid:22760485, xAccessApproverKey:3844038, xstatus:2, roleHistoryId:347172, xcomments:, usertoapprove:Useraccount123]\n","stream":"stdout","time":"2024-02-15T19:54:52.271451065Z"}"
"ecm","2024-02-15T19:54:52.867+00:00","{"log":"2024-02-15 19:54:52,303 [http-nio-8080-exec-2106] DEBUG services.WorkflowService - ERROR Approving Task Approved By Level 2 ApprovalUseraccount123 curTask=Task(Level 2 Approval)Params[xtaskid:22760485, xAccessApproverKey:3844038, xstatus:2, roleHistoryId:347172, xcomments:, usertoapprove:Useraccount123]\n","stream":"stdout","time":"2024-02-15T19:54:52.303618581Z"}"
"ecm","2024-02-15T19:54:52.867+00:00","{"log":"2024-02-15 19:54:52,304 [http-nio-8080-exec-2106] ERROR services.WorkflowService - Error while completing task - 22760485 storing it in JBPM Retry Table\n","stream":"stdout","time":"2024-02-15T19:54:52.304366511Z"}"
"ecm","2024-02-15T19:54:52.867+00:00","{"log":"javax.el.PropertyNotFoundException: Target unreachable, base expression '. customproperty1' resolved to null\n","stream":"stdout","time":"2024-02-15T19:54:52.304378122Z"}"
02/15/2024 09:02 PM
Use below condition
endpoints.customproperty1 ne null and ( endpoints.customproperty1.toUpperCase().startsWith('USERANK1APPROVAL'))