Starting my workflow

Hi,
Would like to know how I can start my workflow after a processformrequest. For example, I would like to start a workflow after the user clicks the apply button.
Cheers

Use the methods in the class
oracle.apps.fnd.framework.webui.OANavigation
This calss provides Java wrappers for Oracle Workflow Engine's PL/SQL APIs.
hope this helps
Srini

Similar Messages

  • How do I manually start a workflow to...

    I have a list with 2000+ items in it. I create a 2013 workflow in SPD that will look at an item and if it date is less than 1/1/2013 it will create a copy of the item on a list used for archiving, then delete the existing list item. 
    My question is how do i manually start this workflow on the entire list (instead of selecting 1 item at a time)?
    Thanks
    James T.F

    @Romeo
    I've found to potential PowerShell scripts that could launch a list workflow from powershell, but they both throw errors for me. 
    # URL of the Site
    $web = Get-SPWeb -Identity "https://sharepointsrv/site1"
    $manager = $web.Site.WorkFlowManager
    # Name of the list
    $list = $web.Lists["Shared Documents"]
    # Name of the Workflow
    $assoc = $list.WorkflowAssociations.GetAssociationByName("On Item Created","en-US")
    $data = $assoc.AssociationData
    $items = $list.Items
    foreach($item in $items)
    $wf = $manager.StartWorkFlow($item,$assoc,$data,$true)
    $manager.Dispose()
    $web.Dispose()
    this gives me the following error
    Exception calling "StartWorkflow" with "4" argument(s): "Value cannot be null."
    At line:15 char:28
    + foreach($item in $items) { $workflow = $workFlowManager.StartWorkFlow($item,$wor ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentNullException
    The other PS Script
    $sourceWebURL = '<URL>'
    $sourceListName = '<List Name>'
    $TargetWorkflow = '<Workflow Name>'
    $spSourceWeb = Get-SPWeb $sourceWebURL
    $spSourceList = $spSourceWeb.Lists[$sourceListName]
    #Getting a Workflow manager object to work with.
    $wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($spSourceweb)
    #Getting the subscriptions
    $sub = $wfm.GetWorkflowSubscriptionService()
    #Getting the specific workflow within the list of subscriptions on the specific list. (SP2010 associated workflows basically)
    $WF = $sub.EnumerateSubscriptionsByList($spSourcelist.ID) | Where-Object {$_.Name -eq "$TargetWorkflow"}
    #Getting a Workflow instance in order to perform my commands.
    $wfis=$wfm.GetWorkflowInstanceService()
    Foreach($item in $spSourceList){
    #Creating the dictonary object I need to parse into StartWorkflow. This could be most other workflow commands.
    $object = New-Object 'system.collections.generic.dictionary[string,object]'
    $object.Add("WorkflowStart", "StartWorkflow");
    $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)}
    Which then gives me this error.
    Cannot convert argument "itemId", with value: "GUID", for "StartWorkflowOnListItem" to type "System.Int32": "Cannot convert the "GUID" value of type "System.Guid" to type
    "System.Int32"."
    At line:23 char:5
    + $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

  • Issue while starting a workflow using a form submission cq5

    Hi,
    I have followed the below mentioned tutorial and completed it.
    http://dev.day.com/docs/en/cq/current/workflows/create-models.html#par_reference
    Once done, I did try to start the workflow using a normal form submission, by giving workflow name in the "Start Workflow" box.
    Once clicked it will send the notification to my inbox, and when I double click, the form 1 will be displayed. Once submitted form two will be displayed.
    But when I submit the form 2, it thorws the below exception.
    But when I start the same workflow using the sidekick, It works perfectly fine. I am guessing that the {payload}.html is not getting set when the WF is initaited by a form submission.
    Could you please help with this. Thank you !
    Exception
    Not Found
    Cannot serve request to /content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480595_ 27.html in org.apache.sling.servlets.get.DefaultGetServlet
    Request Progress:
          0 (2013-02-21 17:38:19) TIMER_START{Request Processing}
          0 (2013-02-21 17:38:19) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
          0 (2013-02-21 17:38:19) LOG Method=GET, PathInfo=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614 48480595_27.html
          0 (2013-02-21 17:38:19) TIMER_START{ResourceResolution}
          1 (2013-02-21 17:38:19) TIMER_END{1,ResourceResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html resolves to Resource=JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27
          1 (2013-02-21 17:38:19) LOG Resource Path Info: SlingRequestPathInfo: path='/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614484 80595_27', selectorString='null', extension='html', suffix='null'
          1 (2013-02-21 17:38:19) TIMER_START{ServletResolution}
          1 (2013-02-21 17:38:19) TIMER_START{resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)}
          1 (2013-02-21 17:38:19) TIMER_END{0,resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
          1 (2013-02-21 17:38:19) TIMER_END{0,ServletResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
          1 (2013-02-21 17:38:19) LOG Applying Requestfilters
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
          1 (2013-02-21 17:38:19) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
          1 (2013-02-21 17:38:19) LOG Applying Componentfilters
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
          1 (2013-02-21 17:38:19) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
          1 (2013-02-21 17:38:19) LOG No renderer for extension html
          1 (2013-02-21 17:38:19) LOG Applying Error filters
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
          1 (2013-02-21 17:38:19) TIMER_START{handleError:status=404}
          1 (2013-02-21 17:38:19) TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp
          2 (2013-02-21 17:38:19) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@88fc5d1), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@170420bb), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@1000e0cb), serializer=Config(type=htmlwriter, config={}))}
          2 (2013-02-21 17:38:19) TIMER_END{2,Request Processing} Dumping SlingRequestProgressTracker Entries
    ApacheSling/2.2 (Day-Servlet-Engine/4.1.24, Java HotSpot(TM) 64-Bit Server VM 1.7.0_07, Windows 7 6.1 amd64)

    Hi chamila,
        I never tried the example. Exception is not clear. Could you please post more stack trace from log files.
    Thanks,
    Sham

  • Start a workflow for a list item that was created by someone else

    What settings do I need to change so that I can start a workflow for a list item created by another user?
    I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called
    LSR List). When a user creates an item in the LSR List, it automatically starts the
    LSR Status Workflow. That is what I wanted, but sometimes I make changes to the workflow (via SharePoint designer) and then I would want to terminate the existing workflows that are running and restart them.
    When I try to start a workflow for anyone other than a list item that I created, I get the following error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to https://publishing.web.company.com/sites/mysite/_vti_bin/client.svc/web/lists/getbyid(guid'1f844b8f-19aa-4587-bcc2-dfb7085f36b5')/Items(31)
    Correlation Id: 8efc5304-f0a3-90f6-8ece-6875bf811869 Instance Id:
    60c83aae-5c25-4ee8-9c85-c64958ba701e
    Then when the workflow is finally suspended after it keeps retrying, it reports the following error:
    RequestorId: 8efc5304-f0a3-90f6-0000-000000000000. Details: An unhandled
    exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 404
    {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["36"],"SPRequestGuid":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"request-id":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue,
    10 Feb 2015 22:36:44
    GMT"],"Set-Cookie":["BIGipServerpublishing-blv-80-pool=2825582466.20480.0000;
    path=/"],"Server":["Microsoft-IIS/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at
    Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at
    System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
    System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    If I created the list item, I can stop it and restart it without any problems, but this is not the case for list items created by someone else.
    What settings do I need to change so that I can start a workflow for a list item created by another user? I am the owner of the SharePoint site and am able to make changes to permissions if needed.

    You don't need to re-do the fields. If you create a new version of the PDF
    file just open the old one and use the Replace Pages command to insert the
    pages from the new version over the old ones. This will give you a new
    version of the file, with the existing form fields still in tact. Of
    course, you might need to adjust their location and/or size, but at least
    you won't have to start all over again...
    On Thu, Jan 22, 2015 at 11:59 PM, Laura Holancin <[email protected]>

  • 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

  • Something went wrong. To try again, reload the page and then start the workflow

    We have a SP 2013 farm with Aug 2013 CU. While trying to start an SPD 2013 platform workflow from browser I get an error "Something went wrong. To try again, reload the page and then start the workflow."
    I could also see the following in ULS:
    System.NotSupportedException: Not supported in Windows authentication mode.
    at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean
    isShareByLinkGuestUser)
    at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials
    (WorkflowServicesContext context) 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
    This seems to be a bug and is solved in Mar 2013 PU but I have Aug CU. The web where I have this workflow has classic mode auth. Has anyone come across this error before?
    I have checked the following:
    1. Service
    Bus Gateway and Service
    Bus Manager Broker services are started
    2. Authentication for this web application is Windows NTLM
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

    Thank you for the steps.
    I have checked User Profile service and it is started and running fine. The user who is trying to start the workflow (me) has a profile created. I'm not starting wf as system account and my account is not added to web application user policy. Workflow isn't
    even firing when I try to edit list item.
    I tried to edit the list item as system account and workflow started this time. But it does to suspended state with the following message:
    RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401
    {"SPRequestGuid":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"request-id":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["2"],"SPIisLatency":["1"],"MicrosoftSharePointTeamServices":["15.0.0.4535"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Thu, 24 Apr 2014 15:32:05 GMT"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    WhenI try to start wf I can see the first error:
    System.NotSupportedException: Not supported in Windows authentication mode.    
     at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean isShareByLinkGuestUser)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials(WorkflowServicesContext context) 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
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

  • Something went wrong. To try again, reload the page and then start the workflow, error on starting a workflow

    i have already create a custom workflow with sharepoint designer and checked for error and it seem fine. i published it on my document library so apprear the first issue : the column that contain the name of my workflow apprear and the link to start my workflow(contain
    the name of my first stap) doesn't appear. the second problem is that when i tried to start the workflow manually on a specific document i get an alert : Something went wrong. To try again, reload the
    page and then start the workflow
    i tried : -restart service bus message broker -restart service bus gateway -recycle workflowMgntpool -flushed the dsn resolver cache and the problem still occure
    on uls log viewer it seems to be an error on w3wp.exe process
    the workflow history is empty

    Hi Mokhtar,
    For your first issue, when you publish a workflow to your document library, only after you start the workflow, then the link to go on the workflow(contain the name of the workflow stage) will appear.
    For your second issue, my understanding is that you got an error when you manually start a SharePoint Designer 2013 Workflow.
    Please go to Administrative Tools->Services, make sure the following services are started.
    Workflow Manager Backend
    Service Bus Message Broker
    Service Bus Gateway
    Windows Fabric Host Service
    Here are similar posts for you as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/12f8ae26-6889-4227-a3fc-dd29a38230a6/something-went-wrong-to-try-again-reload-the-page-and-then-start-the-workflow?forum=sharepointcustomization
    http://community.office365.com/en-us/f/154/t/277480.aspx
    If the issue still exists, please check Event Viewer to check more information about this issue.
    http://msdn.microsoft.com/en-us/library/jj193526(v=azure.10).aspx
    I hope this helps.
    Best Regards,
    Lisa Chen
    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]

  • Start this workflow to approve publishing a major version of an item is disabled in SharePoint Online

    Hi there,
    Despite turning on the require content approval for submitted items in the version setting.  Start this workflow to approve publishing a major version of an item is still disabled in the workflow settings.
    Anyone one know how to enable this option.
    Thanks
    Regards,
    Ravi

    Hi Wendy,
    I tried to copy and modify the Globally Reusable Workflow->Approval-SharePoint 2010 but the problem
    that I am facing is, I cant seems to find the Assign a task in the Actions list and also when I am setting the approver variable to a value, I am missing a column name( how can I get a column which is used in a list?).
    But “Start this workflow to approve publishing a major version” is enabled now using this workflow
    but saying that I am unable to complete the workflow due to the action and column missing. 
    Previously the work flow that I created was for a specific list.
    Is there any work around to this issue?
    Thanks
    Regards,
    Ravi

  • Starting a workflow from an XML file

    Does anyone know if there is anyway to have a workflow poll a folder for the existence of an XML file and start a workflow with it? When looking in the documentation, there is a mention of a scheduler. I need to integrate with a fairly old system that can only read and write text files. Any help is appreciated.
    Dave

    Hi Dave
    This is actually quite easy to achieve. We use this design pattern regularly, and it works very nicely.
    Here are the steps:
    * Download and deploy the DocumentImport, FolderWatch and FileCopyMove QPACs from http://www.avoka.com/avoka/qpac_library.shtml
    * Create a workflow that is your "Watcher" process.
    Step 1 in this will use the FolderWatch to wait for a file in the designated folder, capturing its name when it appears.
    Step 2: use the FileCopyMove to move the found file to a "Processed" directory. (Click the current-date checkbox to include the current date as a sub-folder - very handy.) Moving the file ensures that it won't be reprocessed on the next iteration.
    Step 3: Use the Chain QPAC (or our ChainPlus) to start the real process, passing the name of the newly moved file as a parameter. Then, have this Workflow loop back to step 1.
    If you make this workflow asynchronous, then it will even survive server restarts, so no need to restart it each time. The Watcher workflow will create one "real" workflow for each file that arrives in the watched folder.
    * Create the real workflow. It should have one "in" variable that is the name of the file. Step1: Use the DocumentImport QPAC to import the file into a process variable. You mention XML, so import into an XML variable. If the file is a properties file, then we also do have a properties file import QPAC. You're done, you can do the real workflow now.
    If you have any problems with this, please let us know.
    Regards,
    Howard
    PS You should periodically stop and restart the watcher process. The reason for this is that you will get a LOT of entries in the audit trail for this process instance in adminui, and stopping and restarting keeps this to manageable numbers.

  • How to start a Workflow with a Dynpro action button.

    Hi @ all,
    i have the problem, that i want to start a workflow with a self-made dynpro.
    The dynpro consist the following information who had to be transported in the workflow.
    Stacknr.
    User
    Date
    Time
    and a tif data file
    Somebody have an idea how it works?
    i am very new in workflow. So if you want to help me than please with a step by step guide.
    Thanks a lot.
    Regards Phil

    Hi,
    Please go through the wiki. There are plenty of instructions. Also, this is commonly discussed topic, so try to search first. The key for your problem is that there are function modules to tirgger workflows (either directly or with an event).
    Regards,
    Karri

  • How to start a workflow when a value in specific column is changed?

    HI !! 
    I would like that  my workflow will run only if a value on a specific colunm will change.
    is there a way to do it without using a third colunm ?
    thank you !
    nikita.

    Hi,
    According to your post, my understanding is that you wanted to start a workflow when a value in specific column is changed.
    When you create workflow, if you check the “start the workflow automatically when an item is changed”, the workflow will be started automatically once the item is edited.
    In the other word, no matter which column we changed, the the workflow will be started automatically.
    As a workaround, we can add condition or action to make the workflow excute the next step only if the value in specific column is changed.
    There are two options to achieve it.
    Use the “Wait for Field Change in Current Item" action”. If you add the action at the first,  the workflow will excute the next step until the column is chaned to the specific value.
       2. User the “If any value equals to value” condition. If you add the condition at the first, the workflow will excute the next step if the condition is satisfied.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Retention Policy to start a Workflow not working in sub sites.

    HI,
    SharePoint 2010
    I have created a Retention Policy on a content type.
    It involves the stage to start a workflow.
    I have used a reusable workflow on the content type.
    The Retention Policy works on the main site collection. However the stages is show as "Invalid Retention Stage" for documents inside the sub sites.
    I wasn't able to figure out any solution for this.
    If anyone has encountered this before and managed to find a workaround, Kindly help.
    Thanks in advance.
    Regards,
    Rivin Jose

    Hi,
     Hope below links will help
    http://office.microsoft.com/en-in/sharepoint-server-help/create-and-apply-information-management-policies-HA101631505.aspx
    http://sharepoint.stackexchange.com/questions/74973/retention-policy-and-recurrence
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010setup.aspx?ID=774671f2-e987-4d63-89c3-2ef4a2143148
    Regards,
    MS

  • Error 401 when start a workflow

    Hi, 
    I have a development environment that I installed the Workflow Manager and yours dependencies. The SharePoint 2013 and database are in the same server.
    I have two Webapps in my server. In First, the main webapp, I can't start the workflow. I created other webapp to test the workflow and in the second webapp the workflow works. But, I need to use the first webapp.
    1. User profile synchronization is started.
    2. The user that I am logged is available in User Profile list.
    3. All workflow manager and service bus services are running .
    4. The
    workflow works in other webapp
    I saw in DebugTraces table of WFInstanceManagementDB4 database and there are some errors (webapp with
    problem):
    InstanceId RecordNumber Message CreationTime GroupId Level Name Category
    56A663C0-CDBB-495F-9219-EF52D7C6A71B 15 Attempt 6 of the HTTP request to 'http://vm-test:8080/_vti_bin/client.svc/web/lists/getbyid(guid'75cbdff0-919a-4401-9cf4-6889546bb0c1')' will be made in 00:00:21. 2014-03-03 04:25:33.910 19A37A81-21D8-4AE6-AC9E-F240885355EB 2 HttpRequestRetrying Http
    56A663C0-CDBB-495F-9219-EF52D7C6A71B 16 Attempt 6 of the HTTP request to 'http://vm-test:8080/_vti_bin/client.svc/web/lists/getbyid(guid'75cbdff0-919a-4401-9cf4-6889546bb0c1')' failed with response '401'. 2014-03-03 04:25:54.910 19A37A81-21D8-4AE6-AC9E-F240885355EB 2 HttpRequestFailed Http
    I am using the HTTPDebuggerPro and there are some 401 errors:
    URL
    User
    Application
    Method
    Status
    1
    http://vm-test:8080/naturadoc/_vti_bin/client.svc/ProcessQuery
    Unknown
    Unknown *32
    POST
    401
    2
    http://vm-test:8080/naturadoc/_vti_bin/client.svc/ProcessQuery
    Unknown
    Unknown *32
    POST
    3
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    srv_test
    w3wp.exe *32
    POST
    401
    4
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    Unknown
    Unknown *32
    POST
    401
    5
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    srv_test
    w3wp.exe *32
    POST
    6
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    Unknown
    Unknown *32
    POST
    7
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    srv_test
    w3wp.exe *32
    POST
    401
    8
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    Unknown
    Unknown *32
    POST
    401
    9
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    srv_test
    w3wp.exe *32
    POST
    10
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas
    Unknown
    Unknown *32
    POST
    Help me please!!!

    Hi,
    I understand that you failed to start workflow.
    Please make sure you have created profiles for your service accounts, and make sure that the User Profile Service is associated with the "default" Application Proxy Group.
    In addition, I recommend to use another account to start the workflow to check whether it caused by the account.
    More information:
    http://community.rightpoint.com/blogs/viewpoint/archive/2013/07/11/sharepoint-2013-quick-tips-workflow-and-the-user-profile-service.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to automatically start a workflow?

    All,
    I need to start a workflow item automatically based upon a table insert. I was hoping to use a trigger, but I could do it from within the application too.
    I have a simple workflow itemtype defined in workflow builder. It has several attributes.
    I found the pl/sql procedure of LaunchProcess which does
    CreateProcess and StartProcess, so I guess I am to use this?
    How/where do I populate the attribute values?
    Thanks,
    Tim

    Hi Tim,
    You set the attribute values by using the procedures
    wf_engine.SetItemAttrText
    wf_engine.SetItemAttrNumber
    wf_engine.SetItemAttrDate
    depending on the datatype of your attribute.
    You may also wish to use the procedure
    wf_engine.SetItemOwner
    to indicate the role that owns the item you are launching.
    Thanks,
    Gavin

  • "Start this workflow to approve publishing a major version of an item" in Project Site templates

    Hi
    I created a document library with the "Start this workflow to approve publishing a major version of an item" on, and saved the site as a template. However when I create instances using that project site template, the document library doesn't
    have the "Start this workflow to approve publishing a major version of an item" option on, like the site that was used for the template have.
    Is this option not possible to save on a project site template?
    Here are the steps I did:
    On a document library I set the versioning for major and minor version
    I create an “Publishing approval” workflow and set it to “Start this workflow to approve publishing on a major version”.
    But when I create a project instance of this type, the document library on the project site has the “Start this workflow to approve publishing on a major version” turned off.
    Thanks!
    Best regards

    Hi,
    I recommend to create a  WebProvisioned event receiver.
    We need to create an event handler and register it with the Web Provisioned event. In the event, we need to find the specific Library and set SPList.DefaultContentApprovalWorkflowId property.
    When the site is provisioned, the event handler is activated. Then the "Start this workflow to approve publishing a major version of an item" option will be checked.
    More information:
    SPWebEventReceiver.WebProvisioned method (Microsoft.SharePoint)
    SPList.DefaultContentApprovalWorkflowId property (Microsoft.SharePoint)
    Attaching Web Event to perform operations after creating the web (Event Receiver Concept)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • ** Start a workflow from BPM

    How do we start a workflow from BPM ? (For example, to send messages to that workfolw and receive messages like these purposes)
    Kind Regards,
    Jeg P.

    hi jeg.
    here some blogs and pdfs about BPM to understand how to use it
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    Hope helps
    Rodrigo

Maybe you are looking for

  • I forgot the questions to my apple id... Please help!!

    How can i recover the answers of mu apple id security of i forgot them!

  • I am unable to sync my music from iphone to mac, why?

    When I connect my ipone to my mac in order to sync, it does appear as a button in the navigation menu; However I've been able to successfullz sync photos, but NOT Music

  • SELECT ing BLOB, LOB etc.

    On select from a table with CLOB and BLOB columns, Oracle replied thus: SQL> select * from article; ERROR: ORA-03120: two-task conversion routine: integer overflow How do overcome this problem simply. thanks null

  • Ago Colums

    Hi I have created a few ago columns in the repository but when it comes to querying them using Answers they yield no values when there is data for the time series. I have included a chronological key. Why would this be happening? Thanks in advance

  • User exist for delivery document save

    Dear friends, I want to have a custom validation function at Delivery document save action. Can anyone specify a USER EXIST that triggered at Delivery save. Thanks for help, Ramindu