Issue with Inactive Approver Role in Workflow definition

Hi Experts,
we are having issue with Inactive Approver Role in workflow definitions.
we have created workflow for Master agreements and Projects. Phases and workflow are working fine.
But the issue is when a programmatically added approver has completed the approval activity, collaborator role is not changing from approver role to Inactive Approver Role mentioned in workflow definition. For example, you might select Reviewer in Inactive Approver Role, Then Selected collaborator role to be given to programmatically added approvers when the approval activity is completed.
This is functionality not happening when project or contract document approved and workflow completed in project and MA. we have followed all the standard functionality when we have created workflow. Please see screen shot for the same.
Can anyone please tell me is there any functionality we missed it or do we need to write any script in xpdl or do we need to check anything with collaborator role or with security profiles.
we have checked with other roles also same issue coming.
This Reviewer is in active state and have Readonly profile. We don't have Pre script in this workflow because we are using standard approval.
Thanks in advance!
Lava

Thanks gary for your helpful answer.
As per your answer We have added the approver role in the prescript so that it gets added programmatically , still no luck.
here is the script we wrote in prescript.
import com.sap.eso.api.common.*;
import com.sap.eso.api.projects.*;
import com.sap.odp.api.workflow.*;
import com.sap.odp.api.usermgmt.masterdata.*;
import com.sap.eso.api.doc.collaboration.*;
import com.sap.eso.api.doccommon.masterdata.*;
import com.sap.eso.api.ibean.*;
import com.sap.odp.api.ibean.*;
import com.sap.eso.api.contracts.*;
import com.sap.odp.api.doc.collaboration.*;
collaboratorsCollection = doc.getCollectionMetadata("COLLABORATORS").get(doc);
if (collaboratorsCollection.size() > 0)
   for (int i = collaboratorsCollection.size() - 1; i >= 0; --i)
        collaboratorsCollection_member = collaboratorsCollection.get(i);
        if (hasValue(collaboratorsCollection_member))
           collaboratorRole = collaboratorsCollection_member.getCollaboratorRole().getDisplayName();
            // Get approver of Role "Approver".
           if(collaboratorRole.equals("Approver"))
                principal = collaboratorsCollection_member.getPrincipal();
if (hasValue(principal))
     addApprover(principal);
Do you have any other suggestions? or if you have any related code snippet please share with us.

Similar Messages

  • This is about issues with the approval of product registration.

    Hi. 
    This is about issues with the approval of product registration. 
    In the absence of category for my problem dealing with Office 2007, I had to choose one of the enlightened choice categories. My proglem. Office 2007 is all well installed and functioning satisfactorily, except Picture Manager section. Every time I choose the
    display of an image through Microsoft Picture Manager, I asked about registration. Several times I answered yes, and license code, implementation of tracing the proceeds smoothly. The problem is that by next preliminary to display images with Picture Manager
    and it does not hsuker that I am registered and authenticated user. 
    What to do and what can I check out? 
    In advance thank you.

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Issue with muliti level custom Leave Workflow

    Hi,
       our Leave Workflow is multi level Approvals based on Absence codes.
       Say for Example : Case 1: For casual leave 2 Level Approval,
                                  Case 2: For Sick Leave 1 Level Approval,
                                  Case 3: For Maternity leave 3 Level Approval.
      The Workflow is working fine for Case 1 and Case 2. Workflow is Getting Completed. No issues at all here.
      The Issue is with Maternity Leave there are 3 level of approvals Manager 1, Manager 2, Manager 3.
       First 2 Managers are able to approve it from portal and for third level approval the work item is going to Manager 3's UWL.
       But when we click on work item it is showing the message like your Work list is Empty.
       Even we have forwarded the work item to Manager 2 and Manager 1 using SWIA. From their UWL also we are getting this same message
       your Work list is Empty.
       Observations:
          Request status is in SENT status.
           Visualization parameters are fine.
           Agent is Ready.
           In R3 Level we are not able to see the worklist details in Approval mode in PTARQ tcode for Manager 3,
          For Manager 1 & Manager 2 it is fine there we had approved in PTARQ.
    Here are the Screen shots.
         What Could be the issues? Are we missing something?
         Ideas and Suggestions are welcome
         Regards,
         Arun

    Hi Arun
    Can you please give a screen shot of the technical workflow log with the step history selected for this step? (ensure that you have tried executing it once from UWL and rcd the same message), then get to the backend WF log).
    Also, is the same Workflow task sent to all three levels in a loop or is it a different task at level 3?
    Is there any deadline monitoring assigned to the task (for third level)?
    Regards,
    Modak

  • Issue with PO Approval (POAPPRV) delegate option

    Hi All,
    I'm working on PO Approval i.e. (POAPPRV) customised workflow. When I'm using forward option for PO approval it is working fine and PO is getting approved.
    But at the same time if i'm using delegate option for the PO approval it is not apporving the PO and workflow is getting stuck at one activity.
    for both process i'm using same set of data.
    Please let m eknow if you have any idea about this issue.
    Thanks,

    Hi Kjetil,
    Release strategy is being used. Configuration for release strategy is given as following.
    RGroup Rcode   Workflow     Agent
    Z6          R1         1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Release is sequential.
    For column 'Agent' mentioning position or User is not really useful because we are getting agents through Z table. Reason is: current org structure supports 1 position with multiple users from same department. In our scenario we need to find initiators department then find relevant approval levels for that departemnt. So I cannot mention any position in 'Agent' Column as release code will be locked against one position and one departetment.
    Agents picked through Z table. Table has fields  Agent/ UserID , level, department.
    Logic to pick agents( Object and method created ): 
      When workflow starts, it finds department of the initiator.
      For that department-> find approval levels available(L1, L2,  L3).
      For these levels -> Find Agent mentioned for that level.
      Onece Agents are found for all levels -> Pass them to WF  container.
      In task activity, These agents are passed back to the rule and  the task comes to know which agent it should go to.
    Result : Four workflows start in sequence. When last level releases, only 1st workflow shows COMPLETED status. Rest three hang at level 2. If I see Me29N , release for that item is shown completed. To me it seems triggering of only first workflow is enough for release. Is there any way I can avoid trigerring of other three workflows?
    Edited by: User112 User112 on Jan 25, 2008 6:30 AM
    Edited by: User112 User112 on Jan 25, 2008 6:31 AM

  • Issue with activated substitution role disappearing

    Hello,
    We have an example of a user that is experiencing problems accessing her substitution role. Her approver is off on long term sick, hence, her substitution role has been activated in 'Maintain Substitutions' in the ERP portal to enable her to authorise purchase orders on behalf of her approver. However, the drop down menu that usually appears when the substitutor is activated does not appear in the universal worklist. Therefore, this means that the user cannot access/view any purchase orders for approval delaying payment to vendors.
    The delegator has deleted and re-installed the substitute in 'Maintain Substitutes' but has failed to do anything. I have checked the users roles and they are all up to date.
    The only inconsistancy I can see is in the users universal worklist connection status. Comparing this to another users universal worklist connection status (that is not experiencing any problems with their substitutions) highlights a difference in message. There is an error message stating AdHocSystem/AdHocWorkflowConnector/Failure/ActionFailed. Any suggestions?

    Hi Sarah
    Most probably the issue is occuring due to an inconsistency or problem with the user which is receiving this error. As you mentioned, other users are perfectly able to access the popup to maintain substitutes without any error in the "Display Connection Status" popup and the same are able to see the combo to select a possible user to substitute.
    So the reason for the portal not to show the combo to select the user is that from substitution perspective, the connection to all the systems registered within UWL need to be working. As for this affected user the AdHocWorkflowConnector is failing, the combo is not showing.
    Maybe you could try checking the latest trace messages (from the default trace file) which are written right after the user entered the UWL application and check whether this would help on finding what the problem with this user would be.
    Also other thing which you could try checking is regarding how this problematic user is maintained in Identity Management. Another prerequisite for substitution is that the users should have both a first name and last name in the respective fields. Check about the possibility of this user being set in disagreement with this.
    Hope this helps
    Best regards
    Armando Zaro

  • 0 risks found in while approving role in workflow of CUP

    Hi All,
    I am using one stage work flow. I created one change request to add one role  , it is created and while manager is approving the role, he ran the risk analysis, but it is showing zero risks. where as in RAR/CC for the same role we have 2 risks.
    I configured all steps of  integration of CUP , RAR .(i.e WSDL Updation).
    Please suggest me , where i am going wrong.
    Thanks,
    Joseph

    Have you checked whether there isn't a mitigation somewhere for the role assignment or the RAR check has some critical risks only checked?
    Another possibility (just speculating here..) is that RAR can check for risks within a single role (which is where you found these 2) however the CUP workflow is checking for risks associated with the user's existing roles and the new one in the request. But I would class this as a functional deficiency and hope it is not the case.
    Cheers,
    Julius

  • Issue with request approval in OIM 11gR2

    HI,
    I have created an workflow so that when ever a user tries to provision an entitlement to a user then request should go the approver. Now whenever the request has been raised , workflow has been triggered and the approver approves the requet and the status of the request changes to approve. But even then the entitlement is not getting provisioned to the user. I am getting the below logs :
    <Mar 20, 2013 5:10:09 AM PDT> <Error> <oracle.soa.bpel.engine.delivery> <BEA-000000> <Error: Fault not handled.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caught from within the flow.
    happened for conv_id = urn:E6A7D570915611E2BFA2613558FA7D90 and message guid = urn:E6A7D570915611E2BFA2613558FA7D90 and subscriberId = default/ApprovalWorkflowProj!3.0*soa_d071bc60-5d33-4a6d-a2f3-0a004bc66666/ApprovalProcess/20002-BpRcv1-BpSeq2.6-3, transaction will be rolled back>
    <Mar 20, 2013 5:10:09 AM PDT> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <failed to handle message
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://stgsso.a.b.c.com:443/workflowservice/CallbackService</summary>
    ,detail=<detail>Unable to access the following endpoint(s): https://stgsso.a.b.c.com:443/workflowservice/CallbackService</detail>
    ,code=<code>null</code>}
    Please help me in resolving this issue.
    Thanks,

    1. End user raising the request is able to view the process form, I need to restrict few attributes i.e. position and responsiblity should not be visible to end userEnd user will see Application Instance Form and you can customize the UI to hide attributes
    2. Position and Responsibility should be provided by approver (this is specified in request data set of provision resource)
    Make your Java Code/Beans/Expression to show/hide attributes conditionally.
    3. As per Oracle document there is no request data set for PROVISION and MODIFY resource. What is the replacement for this?Application Instance Form
    4. After Request is raised it has been assgined to xelsysadm, how do i control the approval ?Approval Policies

  • HR Securtity Issue with CATS_APPR_LITE - Approve Working Times and query

    hi Gurus
    here is the our issue :
    1. User need access to do timekeep as well as query . In order to process the time keep task one of the transaction used in the process is CATS_APPR_LITE which requires P_ABAP in the role or by transaction ( Se93 added P_abap object) .
    From the query side role this should not have P_ABAP since giving access to this will have access to sensitive data even though the roles are restricted by Personal area or structural authorisation.
    If both roles are assigned to users then P_ABAP from the timekeep role will overwrite the query roles and users get access to data for which they should not see .
    We have created dual sign on to avoid this task but is there a better way that users can do this task by just single id.
    any suggestions

    Hello,
    CATS_APPR_LITE is meant for Time Approval
    CATS_DA is meant for Display Working Times.
    Can you ellaborate more if this does not solve your inquiry?
    Thanks.
    REgards,
    Bentow.

  • Issue with project having Tag File containing definition of other Tag File

    Hi Everyone,
    I have a small problem which you experts are able to help with.
    As the subject of this Post has suggested, I have a project which was originally built in NetBean 6.0 and I'm trying to migrate it across to JDeveloper 10.1.3. So far, I've managed to compiled all jsps and java source files successfully but I'm now stuck with the following error messages during building of the project in JDeveloper:
    --- START OF ERROR ---
    Error(6): Unable to instantiate tag: menu:tab (class: oracle.jsp._tag._tabmenu._tab_tag) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
    Error(6): Unable to find class for bean: null defined by tag with class: oracle.jsp._tag._tabmenu._tab_tag
    --- END OF ERROR ---
    I believe the reason was that I have this Tag file (menu.tag) that contains definitions and references to another Tag file and here is its content:
    --- START OF TAG FILE ---
    <%@ taglib prefix="menu" tagdir="/WEB-INF/tags/tabmenu" %>
    <%@ attribute name="tab" required="true" type="java.lang.String" %>
    <jsp:useBean id="login" class="au.wa.apa.webbeans.WrsLogin" scope="session" />
    <div id="menu">
    <ul>
    <menu:tab tab="NEW" currentTab="<%=tab%>" label="New Query" tooltip="Create New Query" url="aq/adv_new_query.wrs?formMode=new"/>
    <menu:tab tab="OPEN" currentTab="<%=tab%>" label="Open Queries" tooltip="View Open/Active Queries" url="aq/adv_queries_list.wrs?view=OPEN"/>
    <menu:tab tab="CLOSED" currentTab="<%=tab%>" label="Closed Queries" tooltip="View Closed Queries" url="aq/adv_queries_list.wrs?view=CLOSED"/>
    <menu:tab tab="SEARCH" currentTab="<%=tab%>" label="Search" tooltip="Search Query" url="aq/adv_queries_search.wrs?view=OPEN"/>
    <% if (!"STAFF".equals(login.getUserType())) { %>           
    <menu:tab tab="ATTN" currentTab="<%=tab%>" label="Attention Of" tooltip="Attention Of Administration" url="aq/adv_query_attention_of_list.wrs"/>
    <% } else { %>
    <menu:tab tab="TEMP" currentTab="<%=tab%>" label="Templates" tooltip="Template Management" url="aq/adv_query_template_list.wrs"/>
    <% } %>
    </ul>
    <div class="clear"></div>
    </div>
    --- END OF TAG FILE ---
    I've this problem for several days now and have not been able to solve it and I hope you are able to help me with this problem. Thank you for time and assistance and have a nice day.
    Kind Regards,
    John

    Hi Guys,
    Do we have any workaround to this problem? Any feedback will be welcomed.
    Thanks and Regards,
    John

  • Issue with 'Show approval controls in task details only' in Human Task

    Hi,
    In human task, for the approval controls / outcomes to be displayed only in the task details (Not in the task summary, actions menu), the below option was selected and it was working perfectly in SOA BPM worklist application (11.1.1.5.0). But when we migrate to 11.1.1.6.0, this was not working...
    Option to be selected: .task > Assignment > Configure Assignment > Assignment > Show approval control controls in task details only.
    We are anyhow planning to test in 11.1.1.7.0 also, but do anyone knows why its not working in 11.1.1.6.0?

    I'm facing the same issue in 11g PS5. Any update on this?

  • Issues with New PFCG role

    Hi Experts,
    I have created a new Business role ZBP_MKT_MAN and PFCG role ZSAP_CRM_UIU_MKT_PROFESSIONAL. However the authorisations are not getting copied from SAP_CRM_UIU_MKT_PROFESSIONAL to ZSAP_CRM_UIU_MKT_PROFESSIONAL properly. Can someone guide me with the same.
    Thanks
    Leela

    Hi Maikel,
    Sorry type the infor incorrectly, i have creared a BP role ZBP_MKT_MAN for which i have created a PFCG role ZBP_MKT_MANAGER to the add the same to it. However, the new PFCG role ZBP_MKT_MANAGER is not getting displayed in the PFCG roles list and i am not able to add the same to the BP role ZBP_MKT_MAN. Can you plz let me know how to proceed further.
    Thanks
    Leela

  • Issue with Planning/ Approval screen in MSS and General Information.

    Hello Guru's,
    I have 2 req's
    1. In General Information of MSS we have Employee Search iView, in the dropdown we have different options like direct reports, employees by org unit, employees by org. tree, now the req. is:
    in employees by org. tree we want to have the tree structure collapsed (not expanded).
    for ex: root                    instead want to have  root
                 child1
                 child2
    I couldn't see any DC for employee search in NWDS. guide me to the proper DC.
    2. In Compensation Planning/ Approval screen we have included a new iView and the problem is that on the when employee is selected it is populating the first time and when we select the new employee the iView is not getting refreshed.
    for ex.
    I selected a employee the first time the iview is getting populated and again from the list when I select a new employee the iview is not populated for the new person selected. our observation the view is not getting refreshed and it is hitting the FM in the backend system when debugging we see the pernr is not getting passed properly.
    fyi: there are some of the views which we are not using so in that we created the new view and made it the default view in Window. because of that we haven't created a new DC in MSS.
    please help me out in these 2 issues.
    points will be awarded for helpful answers.
    Thanks in advance for your time.
    Regards,
    Pramod

    My Mistake I need to write the code in WdDoModifyView, instead I worte the whole code in WdDoInit.
    for having the tree collapsed:
    setNavigationObjectTreeExpandLevel(0);
    it will solve the problem.
    Kind Regards,
    Pramod
    Edited by: p409840 on Nov 17, 2008 11:21 AM

  • Issues with test-all role and browser security

    WLS 10.3.5
    I have a deployed application on Linux using a SQLAuthentication and Authorization - all is well here.
    I have setup all the security (without the test-all role) and I cannot access any of the system.
    If I put the test-all role in - I can access the system.
    I have verified the user has all the roles (I used the example bean to display the user and roles on the menu page) and the test-all role is not in the list.
    I have the menu setup to not display items unless the user has the role (this is working fine - SecurityContext.inRole(rolelist).
    So the context is fine.
    I used jazn-data to set the same roles in the taskflows - this is not working at all unless the test-all role is set - I get authorization errors - not authorized).
    Have I missed something in this?
    I have also noticed that if I close the browser (X) without logging out and come back into the system the authentication is totally bypassed and I go back in as the same user as before.
    Is there some way to destroy the previous context every time the welcome screen is executed.

    Add the following parameters to the Run options for the ViewController project:
    -Djps.auth.debug=true -Djps.auth.debug.verbose=true
    Then restart WebLogic, run the app and watch the console - you'll see all the security evaluations take place which should help you to identify the problem.

  • Issue with amodal secondary method in workflow

    Hi,
    I'm using an amodal secondary method of a business object in my workflow activity step. But it is not triggering that method of the business object at runtime.
    Could someone tell me what might be the problem
    Regards,
    Vijay

    Any idea guys?

  • Issue with Reviewer role

    Hi,
    Is anyone experiencing issues with the Reviewer role in Contribute?
    I have applied the Author > Review > Approver > Publish workflow association to templates. There have been no issues with the author, approver, publisher or administrator roles. However, if a draft is Sent for Review to someone with the reviewer role, the page does not display. The person with this role is able to see pages when they browse Contribute or when they edit a draft themselves, just not when a draft is sent to them.
    If the draft is Sent for Review to an Approver/Publisher/Administrator, they are able to view the draft.
    I have checked the role settings for the Reviewer and cannot see any problems with their settings. Any suggestions?
    Thanks.

    Hi Dominic
    That is correct, the page is not rendering when the reviewer selects the page received.
    Thanks

Maybe you are looking for

  • Read only column in tabular form

    There is a not null column ( say SEQ) in a tabular form that is getting an auto value from other process. 2 more columns need user input on each row.I need to make this column(SEQ) as read only. If I make this column (SEQ) as standard report column t

  • Keep being asked to sign in apple id

    Recently downloaded a song while in the car (i wasn't driving, don't worry). i had some bad 3G service so once i bought it, it didn't download all the way and just kinda froze. i got home later that night, opened my phone, and it asked me to sign int

  • Video file must have resulotion of...

    hi I have a PAL project and im trying to import a footage that has a diffarent resulotion a small quicktime movie.. why cant I import the file at all? Asaf

  • How to mark ALBPM messages as non-persistent?

    Hi, When using the WLS JMS Server, persistence for the messages sent through the queue is not required since ALBPM uses the JMS Queue as a dispatching mechanism only. However, since the messages sent to the Queue are marked as "Persistent", you must

  • Can paging an html dataset be accomplished?

    I have created a standard Master/Detail HTML dataset that is working very nicely. However the client wants to be able to click arrows to advance to the next portfolio item. Here is an example of the page: http://www.studioabsolute.com/dev/websites2.p