Activation terminates a running workflow.

Hi,
i have a workflow package with mutliple Pages in it and a running workflow on this Workflow package. When i use the "Activate"-function in the siteadmin for one of the pages in the workflow package the workflow is terminated. Same for the "Deactivation"-function.
Is this intended or is this kind of a bug? For my usecase this is not acceptable.
An acceptable solution would be to remove the page from the workflow package. A better solution would be to disable this behaviour and just let the workflow as it is.
Is this possible, or is there a good reason why CQ5.5 behaves this way?
Greetings

Hi angerwin,
    Once i saw issue with version in workflow step. Technically it should not affect I was just suspecting. Please file daycare and attach all the logs.
Thanks,
Sham

Similar Messages

  • SP 2013 Running Workflow giving Error - Sorry Something went wrong

    Hi,
    We have publish workflow running on a document and we need to cancel/ terminate it.
    On the workflow Page we can see under the "Running Workflows" , the workflow is running. But when we click on that it gives the Something went wrong error message. As we are not able to goto the workflow status page on UI, we dont get option to
    End the workflow. 
    To Cancel the workflow we tried following things -
    1. Powershell command to get the workflow object and cancel it. But using the powershell command- $listItems.Workflows does not give the instance of this stuck workflow. If we start new workflow on that item , it will get added to the count but this stuck
    workflow does not come under its count. So we are not able to get its instance using powershell and cancel it.
    2. Using client side programming we tried directly passing the workflow instance name and terminate it but it gives the exception that "given key was not present in the dictionary"
    string workflowGuid = "91ee281b-3938-45a5-9bb2-8bd128bfa90c";
    var workflowServicesManager = new WorkflowServicesManager(clientContext, clientContext.Web);
    var workflowInstanceService = workflowServicesManager.GetWorkflowInstanceService();
    WorkflowInstance instance = workflowInstanceService.GetInstance(new Guid(workflowGuid));
    workflowInstanceService.SuspendWorkflow(instance);
    Please let us know how to get rid of this stuck workflows.
    prashant

    Hi Prashant,
    According to your description, my understanding is that you want to cancel the stuck workflows in SharePoint 2013.
    If the workflow is designed in SharePoint, I recommend to go to the Workflow Settings of the document library, click Remove, Block, or Restore a Workflow to remove the workflow with the stuck instances and then republish the workflow from Designer to SharePoint.
    Or you can use the code in the link below to cancel all the workflow instances to see if the issue still occurs:
    http://www.codeproject.com/Articles/679628/Easiest-Way-of-Cancelling-All-S
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Ensure 1 Active Sync process runs against the change log before all others?

    He folks,
    We have a lot of LDAP active sync thread. We have a primary on that correlates to an individuals account. Then we have several that represent affiliations at our organization. The affiliations are represented in LDAP as subordinates of the main persons entry. These sets of data were set up as different resource adapters because the they are different object types in LDAP.
    Now we are running into a problem where the active sync threads for subordinates are running before the thread for the main entry. What this means, is that an affiliation thread might run, see a new person was added and ignore it (since that isn't it's resource) but find the affiliation subordinate entry and want to process it. However, the thread can't find an associated account in IDM yet, so no processing takes place on that change, ever..
    If the main account active sync thread had already run, it would see the main entry, and then make a correisponding IDM entry. If the IDM entry has been made, and the affiliation resource active sync adapter runs, it will then find the IDM entry and update that.
    So.. We are experience problems when the affiliation processes a new account before the main account sync process.
    Can we ensure somehow that the main account active sync process always runs first? These are all LDAP resources. If we could ensure the main account resource / sync happens before any other affiliation resource, then we would never ignore data, and would not have anyproblems.
    Does anyone know of a good clean way to do this?
    Thanks!

    I had a similar issue, and solved it by using post process workflows and starting and stopping resource adapters manually. This will allow you to start the first resource, and any others you want can be started/stopped manually via the workflow. You can effectively "chain" resource adapters to run in any order you'd like.
    On the first resource that you want to run before anything else, this will run as a post-process workflow:
         <Activity id='0' name='stopFirstResource'>
            <Action id='0' name='stop'>
              <expression>
                <block name='stop'>
                  <invoke name='stopActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                    <ref>displaySession</ref>
                    <s>%%FIRSTRESOURCENAME%%</s>
                  </invoke>
                </block>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='startSecondResource'/>
          </Activity>
          <Activity id='1' name='startSecondResource'>
            <Action id='0' name='start'>
              <expression>
                <invoke name='startActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                  <ref>displaySession</ref>
                  <s>%%SECONDRESOURCENAME%%</s>
                </invoke>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='end'/>
          </Activity>
    This will stop the first one (after it has run) and start the second one.
    Then, on the post process workflow of the second resource:
          <Activity id='1' name='stopSecondResource'>
            <Action id='0' name='stop'>
              <expression>
                <block name='start'>
                  <invoke name='stopActiveSyncOnResource' class='com.waveset.session.SessionUtil'>
                    <ref>displaySession</ref>
                    <s>%%SECONDRESOURCENAME%%</s>
                  </invoke>
                </block>
              </expression>
            </Action>
            <Transition to='Process Errors'>
              <ref>WF_ACTION_ERROR</ref>
            </Transition>
            <Transition to='end'/>
          </Activity>This stops the second one.

  • Running Workflow step in Background & code inside doing Foreground proceing

    Hi all,
    I am extracting an attachment (file) from DMS (document management services: txn: CV02N) to the presentation server in Background Mode.  Again my Function Module is uploading the file in the forground Mode and at this point workflow is giving error about the presentation server. 
    Please can anyone help me if what am doing is wrong, and if yes then what would be the proper solution.
    Thanx in advance.  Points will be provided for sure
    Anand

    Hi Mike,
    Thank you so much for your help. 
    I will try to explain you the problem.
    The problem is I need to extract the contents of file attached to DMS, which is available only as a link, so using the BAPI_*CHECKOUTVIEW I need to download it on the presentation server so that file / attachment will be available on presentation server and then I can upload the file / attachment in SAP and will read its content in internal table.
    Now the problem is I am using above FM in a Workflow method.  Workflow is doing the processing via WF-BATCH which is a background user by default.  Now the question is
    1) How can i get the file / attachement from the link in the DMS in the background mode and again upload it in SAP in the background mode??  (I tried it but the only BAPI i found is given above, which is creating a local file based on the link in DMS)
                                                   OR
    2) How can I run / test the workflow in foreground mode(by default WF-BATCH (system) is running the workflow in background mode).  But then it is always advisable to run the workflow in background mode until an agent assignment (user interaction) is necessary.  And I guess whosoever will run workflow , it will run by system user only, which is background user.
                                                   OR
    Any other solution you can think of.

  • Can't use "Copy Finder Items" after "Run Workflow"

    Create a simple Automator workflow:
    Set just 1 action "Create Thumbnail Images" and save it. I called it "wf1.workflow".
    Now create the second workflow with 3 actions:
    "Get Specified Finder Items" action (choose an image file here).
    ->
    "Run Workflow" action (specify "wf1.workflow" as a workflow, select "Return workflow results", check "Wait for workflow to finish").
    ->
    "Copy Finder Items" (specify any location)
    Now run the workflow. Everytime I get an error.
    The log:
    Get Specified Finder Items completed;
    Run Workflow (wf1) completed;
    Copy Finder Items failed
    * -[NSAppleEventDescriptor count]: unrecognized selector sent to instance 0x113185d0
    The same workflow works fine in Tiger, so I think there is a bug in Leopard Automator.
    Am I right? Is there any workaround?

    I can confirm I got the same results for the workflow, just don't know why as of yet. And then I somehow got it to work.
    I checked the results for each action and they didn't seem unusual. The results of "Get Specified Finder Items" is a single parenthesized text string representing the file's path. The results of "Copy Finder Items" is an alias, but that should be okay.
    So, deleted the thumbnail from the first run, and then ran the workflow again. It got stuck on "Run Workflow" and hung for a while. So I stopped it and removed "Run Workflow", and then added it in again. Presto! It worked, sort of. It didn't copy the thumbnail, instead it copied the original file. I'd forgotten to reset it to "Return workflow results". So, it seems to be something to do with returning the workflow results instead of the action input.
    I'm going to do some more testing.

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • Infocube locked by terminate change run

    Hi All,
    Message "infocube locked by terminate change run" when I try delete infocube.
    I use SM12(Display and Delete lock), but there is no lock list.
    Anyone had this problem ? and how to fix it.
    thanks in advance
    supriatna

    Hi All,
    the cube cannot delete because some InfoObject changes was not applied, I try with 
    menu tools -> Execute Hierarchy/attribute changes (Ctrl+F9), and try to execute all the changes, after that the cube can deleted.
    thanks roberto & frank for ur suggestion
    supriatna
    YM! asupna

  • Changing Permissions on library with running workflows

    We have a document library running workflows. The library is NOT inheriting permissions from the parent site and all documents have broken (independent and different) set of permissions.
    My question is: If we change the permissions of a current sharepoint group in the library from Contribute to Read, would that affect any running workflows in the library? Reason to do so is because we want to prevent some groups from adding new documents.
    Would this procedure break in any way running workflows?
    Thanks,
    Carlos

    Hi Carlos,
    As I understand, you would like to know whether it affects running workflows if we change the permission of the library.
    Per my experience, it depends on the content of workflow. The link below describe the permissions in each level:
    http://technet.microsoft.com/en-us/library/cc721640(v=office.15).aspx And we could tell from it that with Read permission, users are lack of following actions comparing with
    Contribute permission:
    Add Items
    Edit Items
    Delete Items
    Delete Versions
    Browse Directories
    Edit Personal User Information
    Manage Personal Views
    Add/Remove Personal Web Parts
    Update Personal Web Parts
    Please check the running workflows and see if there is any action or condition would use the permission in the list.
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • How to tackle Forward limit active without stop running vi

    how to tackle Forward limit active without stop running vi: Our robot is comprise of with 8 joint,to limit the robot work area we use the limit botton But now the problem is whenever the limit button is active the vi will stop. i had decompose the errot clust.But i doesnot work ,Is there any good method to solve this problem Thanks!!

    Please provide more information about the hard- and software you are using:
    - NI-Motion board type
    - NI-Motion software version
    - LabVIEW version
    - Simple example code that reproduces the problem
    Best regards,
    Jochen Klier
    Applications Engineering Group Leader
    National Instruments Germany GmbH

  • Allow active content to run files on my computer

    I seem to have an issue with setting the allow active content to run files on my computer in internet explorer. Each time I turn it on reboot the computer the setting is turned off.
    This computer is on a domain, but there are no domain policies for internet explorer.
    Any idea's why this is turning off each time I reboot?
    Thanks

    Hi  John,
    Try to re-install the Internet Explorer in the way below:
     1.Swipe in from the right edge of the screen, and then tap Search.
    2.Enter Windows features in the search box, tap or click Settings, and then tap or click Turn Windows features on or off.
    3.In the Windows Features dialog box, clear the Internet Explorer check box.
    Or you can follow the instructions as below:
    http://windows.microsoft.com/en-in/internet-explorer/install-ie#ie=ie-11
    http://support.microsoft.com/kb/318378
    Regards
    Wade Liu
    TechNet Community Support

  • Allow active content to run files on my computer - turns off each time system is rebooted.

    I seem to have an issue with setting the allow active content to run files on my computer in internet explorer. Each time I turn it on reboot the computer the setting is turned off.
    This computer is on a domain, but there are no domain policies for internet explorer.
    Any idea's why this is turning off each time I reboot?
    Thanks

    Hi John,
    Based on your description, we can try to set the following registry key to see if it helps:
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN
    Value Name: 
    iexplore.exe
    Value Type: 
    REG_DWORD
    Value Data: 
    0
    Regarding this point, the following article can be referred to for more information.
    "Allow active content to run files on My Computer" Group Policy Setting Does Not Work as Expected on Windows Server 2008 or Windows Vista RSAT
    http://support.microsoft.com/kb/2002093
    Best regards,
    Frank Shen

  • Read currently running workflow information

    Hi everybody,
    Please let me know if anyone came across a situation where we need to read the currently running workflow information..
    To be precise, I have a workflow which starts a method, which in turn executes code present in an include.. Now, in this include, I need to know whether it was called from the workflow.. (What i mean to say is that, the include could have been called from many places.. like BAdI methods etc.. I need to execute a specific action only if it was called from the workflow.)
    The plan could be something like.. "read all the currently running workflows and get the related information" .. Any idea how????
    Regards,
    Arun B

    Hello again,
    well, as long nobody else runs jobs using this background-user or changes the user-ID of the workflow-system, it'll work fine.
    To be more precisely on the WF-BATCH user, you could also check for the configured name. Anyways, for a quick check/fix you could be fine when using this procedure.
    However it'll not work within work-item execution from dialog-tasks, as then the actual user processed the code.
    So here's the code snippet to determine the workflow user's user-id:
    *Method signature:
    * RETURNING VALUE( RV_WF_BATCH ) TYPE XUBNAME
    *   "User Name of workflow background user
    method GET_WORKFLOW_USER.
       DATA: lv_rfcdest             TYPE RFCDES-RFCDEST.
    *   Read the RFC destination from workflow basic customizing
       CALL FUNCTION 'SWW_WIM_RFC_DESTINATION_NAME'
          IMPORTING
             WORKFLOW_DESTINATION       = lv_rfcdest.
    *   Read the user-ID from this destination
       CALL FUNCTION 'RFC_READ_L_DESTINATION'          "#EC CI_USE_WANTED
           EXPORTING
              DESTINATION               = lv_rfcdest   "#EC CI_USE_WANTED
              AUTHORITY_CHECK           = ' '
           IMPORTING
              USER                      = rv_wf_batch
           EXCEPTIONS
              OTHERS                    = 0.
    endmethod.

  • "Run Workflow" action in Automator does not "Ask for Finder Items"

    So I have a workflow called step_1 that does a bunch of stuff . . . in essence, it "Asks for a Finder Item" and then runs some Python shells and then outputs an Applescript format list {'item_1','item_2','item_3'}
    I'm trying to use this workflow in another workflow so I selected "Run Workflow" in Automator and located my original workflow step_1 but when I run it, the process goes straight through the workflow and doesn't "Ask for Finder Items" so i'm sure it doesn't do anything else in the workflow either.  It doesn't give me an error, it just pretty much bypasses everything within the workflow and it's pretty annoying.
    Any idea on how to get my workflow to work using "Run Workflow" ?

    Never tired Run Workflow before so as as a test I rn these two
    and the Ask for Finder items in the called workflow ran OK.
    Note this was run  from Automator. One thing I did see was that the Ask for finder items window did not come to the front and I had to look under my open windows to see it.

  • My activity icon keeps running when I am reading my emails. It won't stop running.

    My activity icon keeps running, only during my emails. How do I stop it?

    I didn't think of this earlier, but if it makes any difference: the PC I'm running iTunes on and have had this iPhone connected to is running Windows 7 Ultimate.

  • How to access properties of running workflow 2013 instances?

    Hi there,
    I am trying to figure out how I can access properties of a running workflow instance. I have created the following PowerShell:
    Add-PSSnapin microsoft.sharepoint.powershell
    $web = Get-SPWeb http://app-72b5c37f94da1d.apps.sharepoint2013.local/sites/appdev/SharePointWorkflowApp
    $wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
    $list= ($web.lists|where Title -eq "List1")
    $sub = $wfm.GetWorkflowSubscriptionService()
    $subscriptions = $sub.EnumerateSubscriptionsByList($list.ID)
    $inst = $wfm.GetWorkflowInstanceService()
    $instances= $inst.Enumerate($subscriptions[0])
    $instance= $instances[0]
    $instance.Status
    $instance.UserStatus
    $instance.Properties
    I am not able to retrieve the arguments or variables via this route. Only UserStatus is a valid working option at this point.
    The variables and arguments of the sequence which I have configured via Visual Studio 2013's Workflow Designer, resulted in the following xaml:
      <x:Members>
        <x:Property Name="EenArg" Type="InArgument(x:String)" />
        <x:Property Name="argument1" Type="x:String" />
        <x:Property Name="argument2" Type="InOutArgument(x:String)" />
        <x:Property Name="strArg" Type="InOutArgument(x:String)" />
        <x:Property Name="intArg" Type="InOutArgument(x:String)" />
        <x:Property Name="dateTimeArg" Type="InOutArgument(x:String)" />
      </x:Members>
    None of which are propagated via de Properties collection. 
    What am I missing here?

    Hi,
    To access the properties of a workflow instance, here is a blog with code demos for your reference:
    http://ranaictiu-technicalblog.blogspot.com/2013/05/sharepoint-2013-workflow.html
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • ATTRIBUTE_IDOC_RUNTIME

    Hi guys, I'm getting this error in IDOC Adapter: *ATTRIBUTE_IDOC_RUNTIME* In detail:   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!--  Call Adapter   --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas

  • How am I able to open .tga files in photoshop elements 12? If i googled it, there stod im able to.

    Is it simple or should I install any plugins? I am a total photoshop noob so I got no idea. Thanks for your answers, Louis.

  • Problem with abstract complex type in substitution group.

    Hi all, I have three xsds, A, B, C.XSD respectively. A.xsd:There is a substitution group and its complex type declared as abstract and element that uses them. B.xsd has the same structure as A except that it has complex type derived from complex type

  • How do I see the duration of a clip in the timeline ?

    Hi there, How do I see the duration of a clip in the timeline ? How do I change the duration by typing in a number (instead of dragging its ends) ? Thanks

  • Broken iPhone 5

    My iPhone 5 was dropped off of a shelf by a co-worker.. I live almost 2 hours away from the closest apple store.. So my question is what will the price be to get a full replacement of my iphone 5. I don't have apple care but i purchased my phone with