Approval Workflow - Publish throws exception

Hello,
i am trying to enable statemanagement for a resource within a folder. After setting up the folder i create a new document. Afterwards i choose the context element i click menu option Approval/Publish. I always get this NullPointerException:
Systemfehler
Während der Programmausführung ist eine Ausnahme aufgetreten. Nachfolgend finden Sie technische Informationen zu dieser Ausnahme, die Sie an Ihren Systemadministrator weiterleiten können.
Ausnahmeklasse: 
Aufrufstapel java.lang.NullPointerException
        at com.sapportals.wcm.rendering.uicommand.UICommandFactory.decodeTarget(UICommandFactory.java:628)
        at com.sapportals.wcm.rendering.control.cm.CommandDispatcher.onExecute(CommandDispatcher.java:72)
        at com.sapportals.wcm.rendering.control.cm.WdfProxy.onExecute(WdfProxy.java:2067)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:386)
        at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:176)
        at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:539)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
        at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
        at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
        at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
        at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
        at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
        at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
        at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
        at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
        at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
        at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
        at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
        at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
        at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
        at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
        at java.security.AccessController.doPrivileged(AccessController.java:204)
        at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
        at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
        at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
        at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
        at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
        at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
        at java.security.AccessController.doPrivileged(AccessController.java:180)
        at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
        at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Does anybody know what happens?
Thanx in advance
Christian

Hello Christian
The only time I have received a NullPointerException when submitting a document for approval is when I have deployed a custom repository service and didn't restart the server.  Has anyone deployed any custom services to the portal without restarting?  When this happened to me, I also received the NullPointerException when trying to manually order documents in the repository as well.  Are you able to manually order documents without throwing the exception?
Try restarting the server and see if that makes a difference.  Hope this helps..
Cheers,
Fallon

Similar Messages

  • Problem with custom sharepoint designer approval workflow - check box: 'Start this workflow to approve publishing a major version of an item' is greyed out

    I wanted to create a simple approval workflow. Hence I opted to start from scratch rather than copy the OOTB approval WF. Using SharePoint Designer (not Visual studio) I created a reusable workflow and have added the built in 'Start approval process' action.
    It's saved and published globally.
    Everything works fine except that when associating the WF with a list the 'Start this workflow to approve publishing a major version of an item' check box is disabled.
    Major and minor versioning is enabled for the library.
    What am I missing here? Or do I have to start from the OOTB approval WF to get this to work?
    Regards
    Henning

    Again - new ideas pop up right after defining the issue as a problem. :-) Problem solved!
    I solved this by creating a new workflow from the original publishing approval workflow (copy and replace), but instead of tweaking the already defined approval process (WF action) I deleted it, then deleted all initiation form and local variables,
    and then added the 'Start approval process' action again. This re-installs all the necessary local variables without any initiation form involvement, which is just what I want.
    From here I can tweak the workflow to make it more user friendly, much like
    described by Bobby Chiang in his great blog.
    Remember to add action Set Workflow Variable 'EnableContentApproval' to Yes right before the Start Approval Process action, else the document's status won't be set to 'Approved' or 'Rejected' as an output of the workflow.
    Learning every day!
    Henning

  • Publishing Approval Workflow breaks when created

    When I attempt to create a Publishing Approval Workflow I receive the error message:  This form cannot be opened in a Web browser. To open this form, use Microsoft Infopath.
    This doesn't even have to be on a list that has been created with infopath.  I tried to create a workflow on a simple list and received the same error message.
    Let me also say that Publishing is enabled as well as the workflow.  It shows as being active too.
    To compound matters when I look at the correlation ID error message in the logs I get some real strange errors that I am not sure how they are related.
    The first message shows the correct site page and the list id:
    Name=Request (POST:http://myserver.com:80/Emp/Health/_layouts/CstWrkflIP.aspx?List=%7BCC7A77B8-BAF9-47B3-82C4-592C66F04D35%7D)
    The next one is throwing me off completely:
    CreatePageFromUrlNoUpperCase failed with ArgumentException. Url = '/SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX'.
    The  High Level Message says:
    Leaving Monitored Scope (CachedObjectFactory: Caching Page at: /SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX). Execution Time=21.8362948363549  What does this page even have to do with the workflow?!  I'm beyond confused so I am hoping somone out there
    will know where this is coming from.
    Jennifer Knight (MCITP, MCPD)

    Hi,
    From your error message, I suggest you disable the publishing approval workflow, then enable it again, check the result.
    Thanks,
    Rock Wang
    Rock Wang TechNet Community Support

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • 2010 Publishing Approval Workflow not triggered from Office 2010 application

    I have a peculiar situation to which I have been Googling for weeks now but to no avail.
    Basically, I have configured a publishing approval workflow to fire when the user checks in a word document as a Major version. I tested it and all was fine. I later found that on a select few PC's on the office network the prompt (workflow initiation
    form) was not popping up when checking the document in via the office 2010 word client and therefore the workflow wasn't being initiated.
    I have gone down many avenues of group policy, SP permissions, AD settings, even reinstalling office but nowhere nearer to solving the issue.
    Please bear in mind I have it configured correctly from a SharePoint point of view i.e. checked the box to allow workflow to be manually started & start to approve publishing on major version.
    This might be a clue: it works when checking in via SharePoint but not when checking it in via word, therefore indicating a desktop client or office issue. 
    Does anybody have any knowledge of what triggers the initiation form to fire and what might block it or not register its existence from an office app point of view? Any general comments would be welcome.
    Spec of problem machines: - Windows 7 (x32/64), Office 2010 Std, SharePoint 2013 server (but using 2010 workflow in this case).
    Marc Grocott

    Hi Marc,
    Based on your description, my understanding is that when you check in a major version from word, the workflow initiation form not appear.
    In order for Document Approval workflows to work seamlessly with word, you can tick the option: "Allow this workflow to be manually started by an authenticated user with Edit Item Permissions".
    Here is a detailed article for your reference:
    Approval workflow does not start from Microsoft Word
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • How to create publishing custom approval workflow will assign approvers.

    Hi All,
    I am new in sharepoint development.
    I have a page library where we add artical page with different department
    I want to create publishing custom approval workflow will assign approvers based on what department is selected for display.  The departments pull from the Other list.  On that list each department is assigned an approval group. That approval
    group is what should be used for approving the item.
    need send to mail with based on selected department approval group
    thanks in advance.

    Ok, what you're asking for is something that people do all the time, but you say you are new to sharepoint development... So...
    Here's how you would do it in SPD:
    http://blog.symprogress.com/2011/03/sharepoint-2010-dynamic-approvers-for-oob-approval-workflow/
    and here's how you can do it in visual studio:
    http://www.mpspartners.com/2011/10/SharePoint2010ApprovalWorkflowDynamicApprovers/
    Either way should work, it just depends on your comfort level inside the dev environment.
    ieDaddy
    Blog: http://iedaddy.com
    Twit: @iedaddy

  • OIM Approval Workflow starting Exception

    Hi to all. I'm working with approval workflow in OIM11g and I've followed the OBE for the design of a ResourceSerialApproval Workflow. When submitting a request which is to be approved by this workflow at request level, the request creation fails with this exception:
    IAM-2050014:An error occurred while initiating approvals for request oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Unable to instantiate the workflow process due to null. The corresponding error message is {1}.
    I've searched this forum for the error and seen that maybe it could be caused by a bad props file when registering the workflow: this is NOT my case. The workflow gets correctly deployed.
    Could anyone help me?
    Please I have no idea on how to solve this problem.
    Thanks in advance,
    Giuseppe.

    Hi,
    Open your approval workflow in Jdev, open "ApprovalProcess.bpel" file in source mode,
    Check if custom attribute is getting assigned before the payload is loaded:
    something like
    <copy>
    <from variable="resourceAdmins"/>
    <to variable="initiateTaskInput" part="payload"
    query="/ns2:initiateTask/task:task/task:payload/task:ResourceAdministrators"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <RequestID xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <RequestModel xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <RequestTarget xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <url xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    Regards,
    Raghav.

  • Document Publishing Approval Workflow - Help Needed

    Hello All,
    I am trying to use Publishing Documents with an Approval workflow, but however when I am creating a Document and am publishing it, it does not show up in the UWL of the Approver.
    Can some one suggest what could be wrong or missing.
    Best Wishes,
    John.

    Hi,
      I you have configured approval process and you are receiving notification in Recent Notification iview, it's working fine, you should check:
    The UWL interacts with (task) item providers through specific connector. The connectors perform basic mapping of attribute values and determine the work item type and execution method. Connectors also help in connection to object and attachment repositories to retrieve additional custom attributes or attachments.
    The UWL comes with standard provider connectors and it is possible to configure their detailed behavior based on work item types.
    The connectors that are configured by default with UWL are:
    ·        AdHocWorkflowConnector
    ·        ActionInboxConnector
    Both connectors are configured by default, so both Collaboration Tasks and KM Recent Notifications show up in the UWL by default. Removing the connectors will remove the corresponding items from the UWL.
    ActionInboxConnector
    This connector relates to the Notifications received by UWL from Knowledge Management (KM).
    The ActionInboxConnector provides KM Recent Notifications into the UWL Notification tab, which include document feedback, subscription items, subscription administration, and document approval notifications; in addition, checked out documents appear under Tracking, and documents for approval under Tasks.
    By default the Action Inbox Connector for UWL is enabled.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/12d65d4e084ac886fcdf113909d03a/frameset.htm
    Inbox Service
    http://help.sap.com/saphelp_nw2004s/helpdata/en/89/bbfbba3e7040c39462350fc536e651/frameset.htm
    Notifications for Folders in the Universal Worklist
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/ad743c74fa6449e10000000a11402f/frameset.htm
    Patricio.

  • 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]

  • Error - Complex Approval Workflow in OIM

    I am trying to configure a complex workflow in OIM.
    I have done the following steps to do this :
    1. Made the resource a self-requested resource.
    2. Created a provisioning task for this resource.
    3. Created an approval task with appropriate assignments.
    When I try to trigger this workflow, it works fine and the concerned approver gets the notification as well. But when the approver tries to act upon it(Approve/Reject),
    OIM throws the following exception :
    12:06:30,671 ERROR [SERVER] Class/Method: tcDataObj/eventPreUpdate Error :Data O
    bject Update Permission denied
    12:06:30,687 ERROR [APIS] Class/Method: tcProvisioningOperationsBean/updateTask
    encounter some problems: maoRejections:You do not have permission to update this
    object.
    12:06:30,687 ERROR [WEBAPP] Class/Method: ApprovalsAction/approveDenyTasks encou
    nter some problems: You do not have permission to update this object.
    Thor.API.Exceptions.tcAPIException: You do not have permission to update this ob
    ject.
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask
    (Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask
    (Unknown Source)
    at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.updateTask(
    Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
    tatelessSessionContainer.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
    ke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
    elessSessionInstanceInterceptor.java:130)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service
    EndpointInterceptor.java:51)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
    Interceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
    rceptor.java:105)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
    torCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
    66)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
    java:139)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
    ryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
    24)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca
    lInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto
    r.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
    a:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
    java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
    5)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
    onInterceptor.java:97)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy512.updateTask(Unknown Source)
    at Thor.API.Operations.tcProvisioningOperationsClient.updateTask(Unknown
    Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy956.updateTask(Unknown Source)
    at com.thortech.xl.webclient.actions.ApprovalsAction.approveDenyTasks(Un
    known Source)
    at com.thortech.xl.webclient.actions.ApprovalsAction.confirmApprove(Unkn
    own Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
    lter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
    ipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
    yAssociationValve.java:153)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
    e.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
    int.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
    kerThread.java:112)
    at java.lang.Thread.run(Thread.java:53)
    I have faced the same problem before as well but unable to solve it. Please guide.

    ok so can you export your resource object with the deployment manager (check that all dependencies are exported) and mail me the xml file along with any jar file used by the adapters (avoid zip or rename it zippy) matthieu.valente_at_oracle.com
    I'll have a look at it on monday if I can

  • Approval workflow in SharePoint foundation 2010

    Hello Experts,
    I'm using SharePoint foundation 2010. Can someone help me understand the procedure for creating the approval workflow for a doc library using the SharePoint designer 2010. It would be great if you can guide me the step by step procedure for setting up this
    workflow.
    Thanks. 

    Hi rebel537,
    As you described, you are using SharePoint Foundation 2010. There is no “Start approval process” action when you edit SharePoint Foundation 2010 workflow in SharePoint
    designer 2010.
    I suggest you using “collect data from a user” action instead of “start approval process” action to complete the approval task. There is a demo for your reference.
    1.  
    Open the SPD, navigate to the workflow edit zone. Select “collect data from a user “action.
    2.  
    Click data, in the pop-up window, click next and enter the task name for the approval workflow.
    3.  
    Click next, define the fields for the task, for this demo, there has a field “approval result”.
    4.  
    Then click finish.  Back to the workflow edit zone, click user, in the pop-up window, select the user for the task then click finish ,back to the workflow edit zone.
    5.  
    Add a condition (if any value equals value) after the action.
    6.  
    Click the first value, and then click Fx, there goes to a pop-up window, enter as below.
    Data source:  Association: Task List
    Field from source: Approval Result
    Field: ID
    Value:  Variable: collect
    7.  
     Set another value to “Yes”, add the action” set workflow statue”, set it to approval.   Add an If-Else branch, set the workflow statue to reject.
    8.  
    Publish the workflow, and use it for the approval purpose.
    Thanks,
    Simon

  • 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

  • After the in place upgrade from SharePoint server 2007 to 2010, the out of the box approval workflow does not prompt for additional information after check in of a major version.

    I think it has to do with the interaction between Word, InfoPath, IIS, and /or SharePoint, but I cannot put my finger on it.  Maybe client integration or authentication settings?  I have looked at it in wireshark
    and have not seen anything glaring.
    Steps to reproduce the (working) behavior:
    Set up a document library in SharePoint 2010.
    Under versioning settings, make the following changes:
    Set Require Content Approval for submitted Items to Yes
    Select Create Major and Minor (draft) versions
    Set require checkout to Yes
    Create an out of the box “approval” workflow with the following settings:
    Start this workflow to approve publishing a major version of an item.
    I then create a new document. Save it.  check it in.  it is now version 0.1.
    I then open it again. check it out.  Make a change. Close and save it.
    Check it in.
    Publish major version:
    At this point a screen is presented to me to enter workflow parameters.  This screen comes up in Enterprise 2013 and MOSS 2007, but not the migrated version of 2010:
    This is what I need help with.  It should come up in 2010.  To fix it in 2013, I had to change the IIS bindings to only have 1 entry for a port.  I did this for 2010 and it did not work.
    Any help or ideas is very appreciated.  Thanks very much in advance.

    Hi Chris,
    According to your description, my understanding is that the approval workflow cannot work when the workflow was set to start to approve publishing a major version of an item after upgrading to SharePoint 2010.
    I recommend to check the approval workflow in Workflow settings of the corresponding library to see if the Start this workflow to approve publishing a major version of an item is checked.
    For test, I recommend to create a new OOB approval workflow and set it to start to approve publishing a major version of an item in the same library to see if the workflow can work.
    Thanks
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • 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

  • Creating a Simple document Approval workflow in SPD

    Hi
    Having configured workflow manager 1.0 I  have attempted to create the simplest approval workflow.
    on my document library I set content approval , content type management and versioning. I have  left out check in and checkout to speed up my testing
    Create a single stage workflowin SPD2013 associated with my Document Library
     I upload my document set the various properties as defined in my custom content type
    Document "Approval Status" states "Draft"
    I (optionally) checkin and Publish a major version of the document, "Approval Status" is "Pending"
    I manually trigger the my w/f setting myself as the approver
    I want  pass my Task Outcome to the Approval Status property in my current item - I am just not sure how to do this without setting the item back to draft 
    I am just not sure of the syntax - could anyone help?
    Daniel

    Now if I was building a SharePoint 2010 workflow .... I seem to have richer support for content approval
    .......  Was there beauty contest for the 2010 actions!!!!!!!!
    Freelance consultant

Maybe you are looking for