I have generated a workflow with multiple approvals in Procurement and Sourcing.When i generate a PR and submit it, the workflow gets activated but the PR does not go to the approver for approval.First the PR goes for approval and then the condition is set to check whether it is above particular value so that it goes to the other approver.Can somebody help me in this.
*This post is locked for comments
I agree, your starting point to isolate the issue and finding the root cause lies in in the workflow history and workflow event log.
Should there be no error, then from the workflow history you can verify which elements in the workflow were executed in the flow.
Some other setups that needs to be verified is the association of the approving user to an employee record and the approving user having sufficient privileges/role assigned.
The also verify the workflow hierarchy type being used and if using position hierarchy then ensure the approver is the manager of the current submitting user/employee.
Regards
Rahul
Hi.
Just a short comment on this: my post on 28 Jan 2015 at 2:45 PM clearly stated that you can clean up the (entire content of the) Batch / BatchJob tables in order to resolve that error you faced last with the WF infrastructure form, that resulted from an incomplete deletion of the record on the previous retry.
Anyway, glad to hear the WFs are working for you too.
This issue was resolved by Microsoft by giving command in SSMS :
delete from BATCH
where
CAPTION like 'workflow%'
--GROUPID = 'workflow'
I compiled full application and did CIL compile also .I restarted the AOS still i am getting the same error.Is this something to do with the delete command i had given contained "BR" and "JR" values same.
Please compile either your full system or the "WorkflowSetupWizard" class and perform a CIL Compile.
Restarted the AOS, still getting above error while running WF Infrastructure Wizard.
Can you try to
1. delete the entire set of batches by running in SSMS the following:
delete from Batch
delete from BatchJob
(NOTE that this will delete all the batch jobs you have defined in your system, so if you do not want this, then don't use it)
2. restart the AOS
3. rerun the WF infrastucture.
The workflow batch job is deleted but i am getting above error while running Workflow Infrastructure Wizard.
When trying to run Workflow Infrastructure Wizard:
Error executing code: Wrong argument type for function.
Stack trace
(C)\Classes\WorkflowSetupWizard\new - line 77
(C)\Classes\WorkflowSetupWizard\construct
(C)\Classes\WorkflowSetupWizard\main
Got message : (3 row(s) affected) but still i can see the job in Batch Jobs and when running Workflow Infrastructure Wizard,the batch group is greyed out.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156