40
Points
Questions
5
Answers
7
-
- 1316 views
- 3 answers
- 0 votes
-
- 4290 views
- 13 answers
- 0 votes
-
I think we’ve decided to go down the path of developing a PX to do the following (In theory)
Turning auto-promote off for the status of the workflow
1. User clicks approve, and approve on the ensuing pop-up
2. PX will validate required fields as below (assuming user is the last one to approve that status – more on that later)
a. Attempt to promote the status
b. Ignore “Approver” warnng message
c. If it recieves error for required fields (display message to check audit status) and won’t finish approving
d. If no errors, advance the status and finish approvalQuestion: Is anyone aware of a method to determine the last approver if there are multiple approvers? We could query it, but wondering if there is an easier way.
Thanks.
- 4290 views
- 13 answers
- 0 votes
-
Thanks for the input everyone. I figured there would need to be some sort of px created.
Question on the above code:
So the approver clicks “Approve” button, does this then invoke this PX, thus halting the approval itself and displaying the message? I’m trying to prevent the approval from completing so it does not disappear from the approver’s queue. Thanks.
Jason
- 4290 views
- 13 answers
- 0 votes
-
Here’s the real kicker… I see that you’ve coded for a particular attribute. Can we mine the workflow criteria to look for the exit required fields? If not then I can see some maintenance issues.
Additionally, I’m not sure we could address the below
Affected items Criteria 1 – required field A (Approver A)
Affected items Criteria 2 – required field A&B (Approver B)Two documents on on the same ECO with 2 approvers. As to Danny’s point, I’m thinking the above PX would error on both approvers no matter who approves first.
- 4290 views
- 13 answers
- 0 votes
-
- 1965 views
- 4 answers
- 0 votes
-
Thanks for the reply Matt! Yes I got that far, and a little further, but struggled with having my SQL match the signoff duration, on the workflow tab of task, because the app is calculating business days dynamically. I’m unclear on how to get the business days difference into my query. I was hoping someone already invented this wheel.
- 1965 views
- 4 answers
- 0 votes