Default Approval workflow throwing error "Error occured"

Hello,
Default approval workflow throwing an error : Error Occurred, but no details shown.
So could you please help me out, from where I can exactly get details to check error details/logs.
Thanking you in advance.
Regards,
Jayashri

Hi Jayashri,
Since the issue is related to Default approval workflow, I wonder if you are using workflow based on 2010 platform or 2013 platform.
If you are using SharePoint 2010 predefined workflows and encountered the "error occurred", please refer to:
For predefined workflows, the workflow history list is a good troubleshooting tool. The workflow history displays the current state and all the previous states for a running workflow. When an error occurs in a workflow, the last event in the workflow history
list is titled Error. The list provides information about when the error occurred, but the list typically does not provide a description of the problem to avoid revealing sensitive information that could lead to a security issue. The most common errors are
caused by connectivity problems, incorrect e-mail settings, or restricted user permissions.
https://technet.microsoft.com/en-in/library/cc298927%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
If you are using SharePoint 2013 workflow, you may refer to troubleshooting actions in the article:
http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Workflow manager IIS site throws a 403 Forbidden error and published workflows throw an error 400 bad request

    Hello All , Request your help on the below issue ,
    We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
    what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
    We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error " Sorry something went wrong". We have tried creating new workflows but the same problem.
    We receive the below error in event viewer.
    Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
    The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
    Server stack trace: 
    Exception rethrown at [0]: 
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
       at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    ULS logs give below error 
    Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
    Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
     at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)    
     at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     -
     -- End of inner exception stack trace ---    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)    
     at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
     at Microsoft.Office.Server.Native.dll: (offset=21B4D)
    Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
    from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
    ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
    Internal Server Error.    
     at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)    
     at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     -
     -- End of inner exception stack trace ---    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)    
     at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)    
     at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()    
     at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)    
     at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
     at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
    Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
    Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
     at  SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
    ,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
    Any help appreciated. Thanks in advance.

    Hi,
    As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
    I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
    If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
    http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
    From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
    http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Upload of PO Approval Workflow Customization showing errors.

    Hi,
    As per the client requirement, I have customized the PO approval Workflow
    For customization i did take care that only those standard workflow processes are customized which are prescribed by Oracle as customizable.
    For ex: PO Approval Top Process (Protection Level 1000)
    1. All other custom processes are defined and then included in the standard processes.
    2. I have done all this activity at an access level of 100 in Workflow Builder.
    3. For every custom object in workflow i have checked the Preserve Customization checkbox
    4. Though Preserve Customization Checkbox is not checked for PO Approval Top Process.
    5. After Verifying the design in Workflow Builder i tried Uploading the Workflow to the instance but it is giving Errors
    First I tried to upload in FORCE mode
    1. Copying the customized poxwfpoa.wft file to PO_TOP/patch/115/import/US directory
    Command execurted
    $FND_TOP/bin/WFLOAD apps/simple4u 0 Y FORCE poxwfpoa.wft
    After running this it was giving errors like
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_AND_FORWARD_PO' with APPROVE_AND_FORWARD_THE_PO:D:Bestellung genehmigen und weiterleiten
    and so on ....like this
    Then i tried it in UPGRADE Mode
    $FND_TOP/bin/WFLOAD apps/simple4u 0 Y UPGRADE poxwfpoa.wft
    after this it was giving errors like
    MESSAGE 'POAPPRV/XML_NOT_SET' is protected, no changes were saved.
    MESSAGE 'WFSTD/WFSTD_DEFAULT_VOTE' is protected, no changes were saved.
    MESSAGE 'POAPPRV/EMAIL_PO_PDF_SUPP' is protected, no changes were saved.
    MESSAGE 'POAPPRV/EMAIL_PO_PDF' is protected, no changes were saved.
    MESSAGE 'POAPPRV/PO_PO_APPROVE_PDF' is protected, no changes were saved.
    MESSAGE 'POAPPRV/PO_EMAIL_PO_PDF_WITH_RESPONSE' is protected, no changes were saved.
    MESSAGE 'POAPPRV/NOTIFY_PDF_ERROR' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ACCEPTANCE_REQUIRED' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ANY_REQUESTER_CHANGE' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ANY_SUPPLIER_CHANGE' is protected, no changes were saved.
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_AND_FORWARD_PO' with APPROVE_AND_FORWARD_THE_PO:D:Bestellung genehmigen und weiterleiten
    ACTIVITY 'POAPPRV/APPROVE_AND_FORWARD_THE_PO' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/APPROVE_PO' is protected, no changes were saved.
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_PO_SUB_PROCESS' with APPROVE_PO:D:Bestellung genehmigen
    ACTIVITY 'POAPPRV/BLANKET_PO_REAPPROVAL' is protected, no changes were saved.
    Though after this i checked, by creating a purchase order, whether the customization have been uploaded or not to my surprise they got uploaded and workflow was working fine
    But my problem is that why is this error is coming and in what all scenarios the workflow can fail because of this?
    Please advice as i m not getting any clue to it !!
    Will request forum members to reply ASAP.
    Thanks,
    Sachin Relan

    Hi,
    I believe the feature is available.
    Oracle Purchasing User's Guide Release 11i/R12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Setup Notes for E-mail Purchase Orders [ID 198539.1]
    Release 12: New Features For Purchasing Approvals [ID 429314.1]
    FAQ: Document Approval and Routing [ID 210488.1]
    Thanks,
    Hussein

  • Approval link throws 404 error

    Hi,
       I am running EP6 SP2 patch 5, CM patch 5. I have CM setup to show news items anonymously. When one clicks on the approval email that is sent with the link to the item it throws 404 error saying that the document is not available. The item is there but is not available for everyone. It doesn't give the login page as news items are setup to be displayed anonymously.
      Is there a way to prompt for login without losing the anonymous access by changing the url generation configuration in email to generate URL that asks for a login page or some other way
    Thanks
    Kiran

    Hi.
    How can i reproduce it?.
    Did you login/logout before/after access to your externalId navigation?.
    It could be a WebCenter View Handler bug. I asked to you if it is 11.1.1.4 because there is a bug with it in this version. I don't know if PS4 have similar issue.
    You have a sample code to extend WebCenter View Handler in Andrejus Blog (code of Oracle Support): http://andrejusb.blogspot.com.es/2011/04/practical-guide-for-oracle-webcenter.html
    Regards.

  • OIM 11.1.1.5 Approval Workflow Issue

    Hi,
    I have installed OIM 11.1.1.5. While self-registration of a user, the request is created and by default assigned to xelsysadm as the request level approver.
    However, when the approver logs in, assigns the organization to the user and approves the request, it is shown that the approval task is completed.
    But the request status doesn't change and remains "Obtaining Request Approval" and thus the user is not created in OIM.
    In SOA server, on checking the logs (soa_server1-diagnostic.log) we found the following error -
    [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.dispatch] [tid: orabpel.engine.pool-5.thread-4] [userId: weblogic] [ecid: ee9b8be672bf5ad0:-72f1c18e:1399f6dc058:-8000-0000000000000108,0:1:100000006] [APP: soa-infra] failed to handle message[[
    java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
    We are unable to resolve the issue, we've tried using a custom approval workflow instead of the default approval workflow.
    Kindly help.
    Edited by: 957679 on Sep 7, 2012 6:17 AM
    Edited by: 957679 on Sep 7, 2012 6:19 AM

    Hi ,
    I actually faced the same issue some time back .., it took me almost a week to resolve it ..
    This is happening basically due to incompatible version of wsm-policy-core.jar on your server . Please check all the FMW s/f installed on your server . One of them is incompatible with OIM 11.1.1.5.0 .
    Are you using BIP 11.1.1.6 by any chance .
    Thanks
    Suren

  • New Screen Flow entry for Approval Workflow

    Hi,
    Can anyone please help me with this? I have a requirement where I need to provide a link on a JSPDynpage to the default approval workflow screen for any KM folder. We already have links to standard permissions and subscription screens which can be called via a url which looks something like this:
    http://<host>:<port>/irj/servlet/prt/portal/prteventname/HtmlbEvent/prtroot/com.sap.km.cm.command?Uri=/documents/Public%20Documents/Test%20Folder&isp=permissions
    For this we had created a new entry under Screen Flow (System Configuration->KM->CM Configuration->User Interfaces->Mapping->Screen Flow) and provided the java class for the Permissions screenflow. When I try the same for approval workflow however it does not work. In short, when I create a new Screen Flow Entry e.g. "approval" and specify the Java class for approval screenflow (com.sapportals.wcm.rendering.screenflow.cm.ApprovalScreenflow) and then use the URL
    http://<host>:<port>/irj/servlet/prt/portal/prteventname/HtmlbEvent/prtroot/com.sap.km.cm.command?Uri=/documents/Public%20Documents/Test%20Folder&isp=approval
    it does not work. Does anybody know why approval workflow works differently and how I can remedy the situation? Any help would be appreciated.
    Thanks,
    Shibendra

    Hi,
    The Custom Dialog Task No. you have to assign.
    1) Go to std. Workflow note all the Std. Task Maintain in SWFVISU, Note all the Parameters
    2) Similarly for the Respective Custom Task, Assign the Same for your Custom Workflow.
    Regards,
    Surjith

  • Customize SP2010 OOTB approval workflow using SP designer

    Hi,
    Even though it has been long time i raised the following question:
    http://social.msdn.microsoft.com/Forums/office/en-US/1efa6726-5790-4930-9520-4ef6398c503c/customize-ootb-approval-workflow-using-spd-2010?forum=sharepointcustomizationprevious
    but i never created the workflow using the proposed solution until now. After doing some testing i can verify the proposed solution doesn't work for the following reason:
    1.If i use 'user who created current item' and at the time of submitting the workflow add a different user email address in the 'Approver' field. It doesn't assign task to the user who has been manually added into approver field. It would still assign the
    task to the user who created the current item which is incorrect.
    2.If i use 'user who created current item' and a user who created the page has moved from his/her role, when submitting the workflow manually, the system will assign the task to the user who created the original item not the one who has just modified the
    item
    Ideally we would like to add the 'Approver' when submitting the workflow manually. Is there any other way of doing this? or i have tried the following:
    Copy default approval workflow -> Edit Workflow -> Initiation Form Parameters -> Modify Approvers -> Change 'Collect from parameter during:' to Initiation (starting the workflow) -> Next -> Finish -> OK -> Save -> Publish
    This lets you add the approver and would assign the task to the correct user. Is this a correct approach?
    Any help would be appreciated.
    Regards,
    Kash

    By collecting the values during initiation, you would be able to make it work correctly.  The only down side to this approach is that there are no default values, but that's a small price to pay for a working process.
    If you tested this and it works correctly, I would say that you have a good solution without having to dive too deep into custom code.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Three State Approval Workflow Error

    I have created one Task List. Add Three state approval workflow to it.
    When i created New Task. It started workflow. But after couple of minutes it throws error "Error Occured". How to find error.
    Please let me know. If you know any resolution for workflow error then also let me know.
    Thanks in advance.

    Hi,
    Please go to the task list settings page, click Assigned to column and check "No" for "Allow multiple selections", then check whether the issue still exists or not.
    Here are two threads for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9231b505-7e78-4e98-b6c0-02ad85b247c3/error-occured-three-state-workflow-multiple-selection?forum=sharepointcustomizationlegacy
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a9f37ea-40b4-494b-b4af-db15be9d91ff/error-occured-three-state-workflow?forum=sharepointgenerallegacy
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Approval workflow error when creating a new custom entity in FIM 2010 R2

    Hello,
    i'm hoping somebody here can help, me i've been struggling with this for some time now. On a fresh FIM installation i create a custom entity named "Role" and add a few custom attributes.
    I then create an approval workflow and MPR for normal users to create entities of type Role, but another user must approve this request. The other user has a working mailbox - i've tried firing an action workflow that sends a mail notification when someone
    creates a new role and it is working fine. But, when i enable my approval workflow (the only field i changed from default is the approver) on the MPR, the workflow always failes with the message:
    Error processing your request: The operation was rejected because of access control policies.
    Reason: The server workflow rejected the operation.
    Attributes:
    Correlation Id: 750a558a-d3e4-4216-b16a-e76d79f011ec
    Request Id: feaabbc9-dea4-49a3-8b29-65b77de6f8fd
    Details: The Workflow Instance '04202cc0-14a3-410c-a3fc-2d6e5d25ebe6' encountered an internal error during processing. Contact your system administrator for more information.
     I enabled tracing and this is what i found:
    Microsoft.ResourceManagement Verbose: 0 : Creating WorkflowServiceHost for XOML Definition:\n<ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow"
    TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"
    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856
        ThreadId=8
        DateTime=2013-09-04T15:17:10.0496188Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid Element 'ReceiveActivity.WorkflowServiceAttributes' found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Verbose: 0 : A WorkflowRuntime is not available for this WorkflowDefinitionVersionKey '20'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Error: 3 : Workflow host activation failed for workflow definition id : 231457c6-d044-4cc7-839f-98e5cf88f514, version key: 20. Exception: Object reference not set to an instance of an object.   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
    workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : The service has updated the list of active hosted workflow definitions to sequence number '1'.
    This happened on two separate FIM deployments, but both of them were set up in the same way. What am i missing here?
    Thank you,
    Martin

    (...) What am i missing here? (...) - Sharepoint 2013 and probable bug in FIM related to it. Check this thread for workaround
    and resolution:
    http://social.technet.microsoft.com/Forums/en-US/1b76672d-1276-4c71-b9fc-5bb1fcb36877/event-id-3-with-approval-activity?forum=ilm2
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • PO Approval Workflow Customization - Save Validation error

    Requirement- we needed to modify PO Approval workflow to add item cost under notification as an additional column. In this process I have tried saving the standard PO Approval workflow but when doing validate it throws an error.
    I am using Oracle EBS R12.1.3
    and Oracle Workflow Version  2.6.3.5
    Attaching error document ..
    Any quick help is appriciated.
    Thanks,
    Ajay

    Hi,
    I believe the feature is available.
    Oracle Purchasing User's Guide Release 11i/R12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Setup Notes for E-mail Purchase Orders [ID 198539.1]
    Release 12: New Features For Purchasing Approvals [ID 429314.1]
    FAQ: Document Approval and Routing [ID 210488.1]
    Thanks,
    Hussein

  • Wwsbr_notification_portlet.show_approval - Approve button throws error

    <p>
    Portal Version: 9.0.4.2<br>
    RDBMS Versjion: 10gR1<br>
    OS/Vers. Where Portal is Installed:: Sun Solaris 9<br>
    Error Number(s): Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)<br>
    </p>
    <p>
    I have a procedure that looks for pending items in the portal content tables, then sends emails to all users in the approval routing for each pending item. For some older pages, when I navigate to the approval form from a link in the email and click on the approve button, portal throws "Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)". If I backup to the approval form again follow the link to the pending item's page in mode 25, I'm able to approve the same item without any problem.
    </p>
    <p>
    For newer test pages I create, public or private it doesn't matter, the error does not happen and approval works without a hitch. I've tried updating the approval routing on the new page to match that of the "old" page and still the new page doesn't throw this error.
    </p>
    <p>
    The URL that is used to launch the approval form is generated using the following code (domain name and some details have been removed):
    </p>
    <p>
    </p>
    <p>
    select <br>
    'https://my.domain/pls/portal/PORTAL.wwsbr_notification_portlet.show_approval?p_back_url=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D'
    || ia.site_id || '%2C' || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL&p_item_id='
    || ia.item_id || '&p_page_id=' || ia.page_id || '&p_title=' || t.title
    || '&p_title_link=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D' ||ia.site_id || '%2C'
    || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL%26_mode%3D25&p_instance_id='
    || ia.approval_instance_id ||'&p_approver_id=' || ia.approver_id ||'&p_approval_id=' || ia.approval_id || '">'
    || NVL(t.title, '[NO NAME]') || '</A>' As APPROVALFORMURL
    from wwsbr_item_approval$ ia, wwv_things t, wwpob_page$ p
    where t.id = ia.item_id
    and t.subscriber_id=ia.subscriber_id(+)
    and t.cornerid = p.id
    and t.id = approval_items_rec.id
    and rownum = 1;
    </p>
    <p>
    </p>
    <p>
    Has anyone else seen this kind of problem before?
    </p>
    <p>
    I've determined that the error that occurs after clicking on the Approve button from the pending item approval form generated by a call to PORTAL.wwsbr_notification_portlet.show_approval is caused whenever the approval routing for the item's page has a group in it and someone edits the membership of that group while there are any pending items on that page.
    </p>
    <p>
    IMHO, this is not a very good "feature" of Portal. Portal stops users from editing the approval routing list of a page that has pending items, but it doesn't stop users from editing the group membership of a group that is on that same approval routing list. If the page in question is busy with a lot of different content authors adding content pending approval at any time of any day, when is it safe for someone to edit the membership of a group that is referenced in the approval routing (or a group that is a member of a group referenced in the approval routing)? In my opinion, this needs to be fixed. Portal should lock all of the groups associated with the approval routing list either directly or by composition when it locks the approval routing itself.
    </p>
    I've been able to work around the error by navigating to the page in _mode=25 and clicking on the approval actions icon next to the pending item (approve button works when form is generated by the link that calls wwv_thinghtml.content_actions_screen. It may be that this only works because my session is as the page creator.
    <p>
    Can I use PORTAL.wwv_thinghtml.content_actions_screen instead of PORTAL.wwsbr_notification_portlet.show_approval to display the approval form, or could this cause problems with the approval routing procedure or security? I've tried it and it works with a portlet wrapper and some error checking (determine if item has already been approved/rejected).
    </p>

    hi,
    please open a service request with oracle support to analyze the problem.
    in portal 10.1.4 we offer an easy way of doing this with our new CMEF (content management event framework). you can easily check for pending items and send out an email.
    find more information here:
    http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_cm_cmef.htm
    regards,
    christian

  • Opening Build Specificat​ion - Error 7 occurred at Get LV Class Default Value.vi

    I recently ported my project to a new PC. Everything seems to run fine uncompiled, and I am able to build an executable without issue. However, my build specification shows up in the project explorer with question mark next to it. When I try to build again or edit the properties I get a popup with the information below:
    Error 7 occurred at Get LV Class Default Value.vi
    Possible reason(s):
    LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
    =========================
    NI-488: Nonexistent GPIB interface.
    Complete call chain:
    Get LV Class Default Value.vi
    AB_UI_Initialize_Framework.vi
    AB_UI_FRAMEWORK.vi
    AB_Item_OnDoProperties.vi
    AB_Item_OnDoProperties.vi.ProxyCaller
    LabVIEW attempted to load the class at this path:
    <Empty Path>
    I've seen messages from people getting the same error when trying to run a compiled executable, but mine actually runs fine. I am just unable to open the build specification to rebuild or edit its properties.

    This application is for a Windows machine, and I am not using the Report Generation Toolkit. However, I shut down my computer last night and when I booted it up this morning my Build Specification now opens fine and I am able to edit it. My only thought as to why it occured in the first place is that I had added several files to user.lib and instr.lib and restarted LabVIEW, but it appears that it required my computer to be restarted as well.

  • Error 7 occurred at Get LV Class Default Value.vi only in my executable for Print Report - LV 2010 SP1

    I have a program written which uses the print report function. Everything works fine in the uncompiled code, my report prints just fine. I can compile my project all the way to a full installer. When I run the executable I get the error:
    Error 7 occurred at Get LV Class Default Value.vi
    With the following text:
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Complete call chain:
         Get LV Class Default Value.vi
         NI_report.lvclass:New Report.vi
         print report.vi
         EMS V3.0 streamline.vi
    LabVIEW attempted to load the class at this path:
    H:\InMotion\EMS\builds\EMS_01\Emissions Analyzer\EMS.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
    "EMS V3.0 streamline.vi" is my main vi, "print report.vi" is the subvi that creates and prints the report based on all the information sent to it. I get no warning when I compile this to an executable. I already tried repairing both LV SP1 and the report generator toolkit. No change after I compile to an exe.
    Any help would be appreciated. Thanks.
    Garrett Herning

    Ok, I tried that... and now I get an error when I try to compile to an executable... This is right at the end of the build and will not let me build an executable.
    Error:
    An error has occurred. Expand the Details section for more information.
    Details:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 7 occurred at Invoke Node in AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Method Name: Linker:Write Info To File

  • Error while testing the self registration approval workflow

    Hi all,
    I am getting the following error while testing the self registration approval workflow.
    Here the request level approval is working fine.But the operation level is not working.
    <May 28, 2012 11:25:01 AM IST> <Error> <oracle.iam.request.impl> <IAM-2050126> <Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}runtimeFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle/iam/platform/OIMClient</summary>
    ,detail=<detail>java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient
    at orabpel.approvalprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:182)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at java.lang.Thread.run(Thread.java:662)
    </detail>
    ,code=<code>java.lang.NoClassDefFoundError</code>}
    cause: {oracle/iam/platform/OIMClient}
    received from SOA for the request id 61.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.iam.callbacks.common> <IAM-2030081> <[CALLBACKMSG] Inside Status Change plugin for request 61 and the status is : Request Failed.>
    er and operation is CREATE.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.wsm.agent.handler.wls.WLSPropertyUtils> <BEA-000000> <WLSPropertyUtils:getOperationName(),operation name is null>
    How to resolve this issue?
    Please anyone suggest me.Thanks in advance.
    Regards,
    Deena.

    Deena,
    Please make sure the path is correct. also why .zip, why : at the end why blank space? These could be a problem.
    /home/oracle/Oracle/Middleware/Oracle_IDM1/server/client/*oimclient.zip*:/home/oracle/Oracle/*Middleware/ oracle_common*/modules/oracle.jps_11.1.1/jps-manifest.jar:
    Below is correct one.
    $MW_HOME/Oracle_IDM1/server/client/oimclient.jar:$MW_HOME/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar
    If you have custom workflow, be sure in task assignment proper outcome approve or reject.
    Thanks,
    Kuldeep

  • PO Approval workflow error

    I customized POAPPRV (PO Approval Workflow) and uploaded it successfully to DB. Now when I try to view the workflow for a new PO it gives following error
    Failed Activity PO Approval Top Process (Custom)
    Activity Type Process
    Error Name WFENG_ACTID
    Error Message 3121: Activity ID '185096' is invalid as of date '01-JUN-09'.
    Error Stack Wf_Activity.InitCache(185096, 01-JUN-09) Wf_Activity.Info(185096, 01-JUN-09) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185096, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185097, ACTIVITY_PERFORMED) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184483, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184483, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184483, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184481, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184481, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184481, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184487, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184487, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184487, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185097, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185173, ACTIVITY_PERFORMED) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185466, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185466, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185466, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185470, F) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185470, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185470, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185476, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185476, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185476, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185173, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185112, Y) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185112, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185112, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185171) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185428, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185428, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185428, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185424, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185424, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185424, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185426, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185426, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185426, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185171, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185150, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185150, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185150, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185165, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185165, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185165, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185138, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185138, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185138, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185103, VALID_ACTION) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184537, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184537, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184537, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184559, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184559, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184559, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184547) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184547, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184547, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184545) Wf_Engine_Util.Execute_Activi
    Any clue why this would happen would be appreciated. Thanks. Ash.

    I faced the same error just now. it has been fixed by re-loading the wf..

Maybe you are looking for