Donu00B4t release tasks after releasing a phase

Hi guys,
after searching a lot and programming in dpr_events i have no further idea.
Does anybody know if it´s possible to do not release a task after releasing the upper phase?
I tried the method set_data_ext from cl_dpr_task_o in dpr_events but there is no field for changing the sytem status from '1701' (released) to '1700' (created).
Thanks for advice,
Tobias

Hi Zhenbo,
thanks for the help. I solved the problem with your suggestion. In DPR_EVENTS first I buffered the task types and then I removed them, so that the system cannot release the tasks.
In the project itself, I import the buffered task types and then I search in the project for tasks that have no task types. If the GUID matches I set the task type and remove the entry from the buffered task type table.
Now I can release a phase without releasing the underneath tasks.
Because of the filtervalue ON_PPO_RELEASED in DPR_EVENTS I can release top-tasks so that also sub-tasks are released.
So the behavior is correct again except that there are some error messages when I release the project. But that´s OK so far.
Regards & thanks again,
Tobias

Similar Messages

  • Release all phases and tasks if project definition is released

    Hello,
    I have several phases and tasks in a project and when I release the project only the first phase is also released. I am not working with approvals.
    Is the a possible to release all phases when the project is released?
    Thank you and have a nice weekend,
      Vanessa

    Hi Vanessa,
    You can create an implementation of BADI dpr_events, with filter dpr_tv_badi_method = ON_DPO_RELEASED.
    ir_sender instance will be the project in that case, so you can easily retrieve the phases object and release them at this moment.
    Matthias

  • Can I raise cProject Task event from cProject Phase workflow?

    Hi,
    I need modify release logic of the cProject's task.  I am developing the phase release workflow.  In this workflow I want to trigger workflow to sequential release every tasks that belong this phase.  I developed a Z method of BUS2173 (Phase) and call the BAPI_BUS2173_GET_TREE, then I got Task_IDs of all of the tasks, but I do not know how to get the TASK BOR reference with these TASK_IDs.
    Can I get TASK BOR reference and raise its event from a method of the PHASE BOR ?
    Thanks.
    Arrow Yang.

    Hi  Barry,
    According to your description, my understanding is that you want to save and close the initial form when you  approve/reject the task.
    For a workaround, you can take steps as below:
    1.Open your site using SharePoint Designer, go to Workflows, click the approval workflow.
    2.On the workflow property screen, there is a Forms area should have an InfoPath form named Approval.xsn. You can click the link to open the form in InfoPath.
    3.Customize the task form for displaying and editing the initial form value.
    4.Customize the “Approve” button rule for  setting the form value.
    Reference:
    http://blogs.msdn.com/b/edhild/archive/2011/06/01/creating-custom-workflow-task-approval-forms-with-sharepoint-designer-2010.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Sharepoint 2013 designer workflow auto approve task after due date is passed

    sharepoint 2013 designer workflow auto approve task after due date is passed.
    Could we approve the task automatically once due date is apssed?
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    If your task is created by a workflow (first) and stored in a separate task list, you can create another workflow on this particular task list, then each workflow instance would check if current task is expired (not approved/rejected), then
    determine if update current task's "Task Outcome" as approved (and update task status as complete), and then create a retention policy on this paricular task list to trigger the workflow on due date .
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?

    Hi Craig,
    whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
    Hope this helps.
    Stefan

  • Problem with"Evaluate User Policies"sch task after the upgrade OIM R1 to R2

    Problem with "Evaluate User Policies" scheduled task after the upgrade from OIMg R1 to OIM 11g R2
    After the upgrade process is completed we are having issue with Access policy not triggering if rule is set to custom attribute
    - We had a Rule with custom attribute (Policy='Full-Time') the value gets populated by event handler which triggers the access policy in OIM 11g R1.. which worked fine in OIM R1
    After the upgrade the value is getting populated but even after running "Evaluate User Policy" the Access Policy is not getting triggered.
    We tested creating a rule with other custom attribute,policy does not trigger even after running Evaluate User Policy schedule Task in this case too
    but if we try creating rule with OOTB attributes(Country='US') it works fine the access policy got triggered after running Evalute User Policy
    One more issue we observed is
    - Evaluate User Policy value usr_policy_update is not updated still set to '1' even after the Access policy got triggered (as it worked when rule is set to OOTB attribute)
    I believe after the evaluate user policy gets triggered for a user it should update the value from '1' to '0')
    Please let me know if you have any idea..Thanks!

    well, I overcame the issue by 'fooling' the installer: on second node, change the scan ip address to point to something else (ie, different ip address to the scan in the first node, cleanup then rerun root.sh, it went past the trouble stage, then I still have problem later at the time database creation. I think scan ip address has to be setup correctly (round robin thingy)
    This is how i did the cleanup before rerun root.sh
    /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

  • BPEL automatically releases claimed tasks after three days

    We have a BPEL process deployed on a BPEL Process Manager v 10.1.3.3. This process uses Human Tasks to assign tasks to groups of users.
    Users have to claim a task and update the outcome of it.
    We noticed that when a task remained claimed for more than 3 days, bpel automatically released it (using bpeladmin-the owner of the task as the actor).
    We haven't set any expiration or escalation policies, so my question is:
    - is this behaviour a feature of BPEL? is there a way to control it, for example to turn it off?

    I answer my questions!!
    Well, it is a feature of the product and you can control it's behavior by altering parameters in the file wf_config.xml:
    <taskAutoReleaseConfigurations>
    <taskAutoRelease priority="1" default="P1D" percentageOfExpiration="30"/>
    <taskAutoRelease priority="2" default="P2D" percentageOfExpiration="40"/>
    <taskAutoRelease priority="3" default="P3D" percentageOfExpiration="50"/>
    <taskAutoRelease priority="4" default="P4D" percentageOfExpiration="60"/>
    <taskAutoRelease priority="5" default="P5D" percentageOfExpiration="70"/>
    </taskAutoReleaseConfigurations>
    My tasks have normal priority and so they will be auto-released after 3 days or after passing 50% of the expiration time.

  • CVS commit comment no longer populated from task after upgrade to Mars

    Hi,
    after I upgraded to Eclipse Mars, I no longer get the CVS commit comment populated from the active Mylyn Bugzilla task.
    I have installed:
    Eclipse Mars CDT edition
    Mylyn Context Connector: C/C++ Development
    Mylyn Context Connector: Eclipse IDE
    Mylyn Task List
    Mylyn Task-Focused Interface
    Mylyn Versions Connector: CVS
    Mylyn Versions Connector: Git
    In the preferences under Mylyn, Team I have the same Commit Comment Template that I used with all previous Eclipse/Mylyn versions:
    ${task.key}: ${task.description}
    ${task.url}
    What is missing to get the CVS commit comment populated again from the active Mylyn Bugzilla task?
    Thanks
    Stephan

    Sam Davis wrote on Wed, 15 July 2015 10:56CVS support has been moved to a separate feature. You'll need to install Mylyn Context Connector: CVS Support (org.eclipse.mylyn.team.cvs).
    Thanks for the suggestion, Sam. Unfortunately, I can't find the "Mylyn Context Connector: CVS Support" when I select the "Mars - http://download.eclipse.org/releases/mars" update site. Must I get that from another update site?
    Note that I forgot one relevant plugin in my initial question. In addition to the plugins listed there I also have installed the "Mylyn Context Connector: Team Support" plugin. So the full list of Mylyn plugins that I have installed is:
    Mylyn Context Connector: C/C++ Development
    Mylyn Context Connector: Eclipse IDE
    Mylyn Context Connector: Team Support
    Mylyn Task List
    Mylyn Task-Focused Interface
    Mylyn Versions Connector: CVS
    Mylyn Versions Connector: Git
    Stephan

  • Restarting Task After Performing Shunt Calibratio​n

    Hi,
    I wonder if anyone can help with a problem that I am having with LabVIEW 8.5. I am using LabVIEW to measure strain gauges via SCXI 1520 signal conditioning units.
    To perform a shunt calibration of the gauges I use the National Instruments example code.  The problem seems to occur after the  'CalculateGainAdjust.vi' has been called. The DAQ task is passed to the calibration code, 'CalculateGainAdjust.vi' does the following:
    *passes the clock configuration to the end of the VI so the original state can be restored.
    *enables shunt calibration
    *creates a new clock
    *starts task
    *reads 1000 samples
    *stops task
    *disables shunt calibration
    *restores task state
    This code executes without causing an error. If the main DAQ task is stopped and then a calibration performed the task will not restart with its original configuration and times out with the following error:
    Error -200284
    DAQmx Read (Analog 1D Wfm NChan NSamp).vi:11<append>
    <B>Property: </B>RelativeTo
    <B>Corresponding Value: </B>Current Read Position
    <B>Property: </B>Offset
    <B>Corresponding Value: </B>
    If a calibration is performed before the DAQ task is started then the DAQ task starts ok after calibration.  It is only if the task is run then stopped to perform a calibration that the problem occurs.
    Is it necessary to take into account the 1000 samples read during the calibration process? I wonder if the main DAQmx Read VI is waiting for the 1000 samples that have been already read ? Strangely enough I don't think this was an issue when the code was run on LabVIEW 8.2
    Any suggestions would be appriciated
    Kind Regards
    Ian

    Hello Ian,
    Thank you for the link pointing to the downloaded examples that you have been using.  More importantly, I am also glad to see that you are able to use the examples and that you found an order of operation that does not cause any error codes.  You are, however, interested in continuing searching to find what causes the error in the latter case of operation, which is what I will be helping with. 
    Just to be sure, I have a Knowledgebase Article linked below to help avoid the error, -200284. 
    http://digital.ni.com/public.nsf/allkb/FEF778AD990​D5BD886256DD700770103?OpenDocument
    As we said, the error can occur in the latter case because something is not being setup correctly with the DAQmx task, or because the Calibration procedure is making use of the the hardware resource, and not releasing it for the DAQmx task.  I will have to do more research, and reply back confirming the cause.
    The examples you are using seem to be the most current, although I will take the time to compare them with those that ship with LabVIEW 8.5, which you currently have.  The examples have been available since the release of the modules.  As the modules have not changed, it appears that examples are at their optimum level.
    Regards,
    George T.
    Applications Engineering Specialist
    National Instruments UK and Ireland

  • Charm - how manage issues after go live phase

    Hi all,
    ny customer use Charm Implementation project for managing roll-outs of new countries in his SAP ECC Landscape.
    Now Test Phase is going to end and he asks himself: "how can I manage issues after go live in Charm?"
    If I have to create additional TRs for bug fixing in the weeks after go-live can I manager them in Charm?
    I know there is the function for create TR direct in Talsk List, is this the correct way?
    In other words, do I manage issues after go-live out of Change Documents using Task list?
    As you know, Is there any best practices from SAP od from elsewhere?
    Thanks o lot
    Giovanni Lippolis

    Hi Miguel, Bob and Jansi,
    thanks for you contributions.But I realize I didn't explained myself completly.
    My situation is similar to what Bob described,
    I'm not in an ideal world (do you remember Clint Eastwood and Kevin Costner), and I think neither you.
    But, in my case there are not open TR to be recovered in project, but I suppose I'll have to open some TR (I hope a few) for fixing bug that will happen in production in the days post roll-out.
    So I wouldn't like to manage there fix in a maintenance project, because the reason of these bugs is in TR imported in roll-out.
    What I would like to do is to regress project to the Test phase (I don't need new CR and NC!) and open few Test Messages for fixing bugs.
    I'suppost It should be possilble.In your opinion?
    Ideas?
    Thnks a lot.
    Giovanni
    So what

  • Problem in task after upgrade to 7.4

    Hi,
    after upgrade from 7.1 to 7.4 now in UWL detail in some task there is the label:
    "Before you make a decision, you can display the attachments and objects
    which have been attached to the user decision. You can also create your own
    attachments.
    If you choose Cancel, the user decision remains in your inbox for
    processing."
    Can i remove it?
    Regards,
    Rocco

    Solved...is a new description added to the task in the workflow, this text in the 7.1 version is not present, with 7.4 upgrade this text added automatically to the task, I have deleted this text and now work.

  • 200478 no channels in task after Windows 7 auto updates

    MS pushed a Win7 update this morning while I had Labview open, but was not actually running any VI's. After that, several VI's that had been working yesterday, and have not been changed in any way hung when accessing my USB-6251 at the acquisition timing setup step, and after some time bombed. I also could not start the test interface in MAX but it did recognize the hardware. I noticed 2 listings for this hardware and on starting MAX and would first get an error message claiming the data base was corrupt (this box could be closed). I used the max reset feature to reset the data base. Now MAX features work ok and data transfer can be tested there and seems to work fine (in MAX). When I run my LV programs however, now they immediately bomb after the timing setup step when I attempt to  simply read the sample clock rate using a property node (also has always worked before)  with error 200478 claiming there are no channels in the task. Clearly there are; the program has not changed since yesterday when it worked fine. Obviously, the windows push corrupted something in the DAQmx arena. How do I clean this up?  Thanks.

    First thing I would try is a forced recompile (Ctrl-Shift Run Button).
    Have you tried building up the same logic in a new VI?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • PCW call custom task after approval process

    Hi comunity,
    I need to know how could call a custom task from PCW. Because I need to update a Z log table after the users approval SC just when the document is set to approved. I've checked the WS40000015, but seem to me that this is not possible.
    I have no other option to use the BBP_DOC_CHECK_BADI to do so? Am i right?.
    Regards.

    Rick, thanks for your answer.
    I didn't explain myself right with Z table. This is a relationship that required my customer between different entities (SC guid and one external number ID from a Non SAP SRM system and other fields).
    I agree that maybe the business requirement could be revised. But the core question it's the same, is not posible call a custom task from the process level, because seems to be limited to decision tasks. I don't get why SAP does not create a condition step in WS40000015 which allow us to call custom background tasks.
    I will use the BADI, hoping to get the SC when it's already approved.
    Regards.

  • Human Task - How to cause expiration of a task after SUSPEND

    Hello,
    This is a very simple question, but i don't know how to do this.
    I'm using the web services in bpel for manipulate the task.
    i invoke the operation suspendTask, it works success, but now i want set the expiration date time for 5 minutes for example.
    1) - I tried to call the method updateTask setting the expiration datetime attribute AFTER SUSPEND task, but i get this error:
    ORABPEL-10206
    Error in retrieving task metadata.
    Error in retrieving task metadata because the task is  no longer valid.
    Only valid tasks can by looked up.
    2) If i try to call updateTask operation BEFORE SUSPEND task, i getting this error:
    java.sql.SQLException: ORA-20005: Task is modified
    ORA-06512: at "CCEEDEV_SOAINFRA.WFTASKPKG_111120", line 2455
    ORA-20005:
    ORA-06512: at line 1
    My question, it is possible expirate tasks that have the status SUSPEND ? If yes, how to do this ?
    Thanks
    Victor Jabur
    Edited by: victorjabur on Aug 13, 2010 7:21 AM

    Hi Victor,
    I am Quite new to Oralce BPM/BPEL 11g, In my project I also need to update the task for expiration datetime but not after suspending the task rather before moving to next human task based on some condition.
    It would be great if you could give me the sample code to perform the same if its working with you.
    Regards,
    PK

  • How to edit/modify workflow task after it has been completed?

    My workflow spawns a couple tasks and once those tasks are completed, they become non-modifiable. If the user made a mistake by entering wrong details while completing the task and would like to change it later, he cannot do so once he hits the complete
    button. This is happening in SharePoint 2010.
    We were using SharePoint 2007 earlier when this wasn't the case. The tasks could be modified even after they were completed. I would like to have the same behavior in 2010 too. Please suggest how can I do it? There should be some task settings to enable
    modification but I just can't find them. 

    Hi,
    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
    Thanks,
    Linda Li
    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]
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Clean air issues with a mac pro

    have any of you peeps battled with the simple problem of air quality around a mac pro. my machine exhausts so much hot air and fumes (it's always done this, i know there's no technical problem, i'm just super-aware of air quality, do a lot of yoga et

  • IP over Firewire AND Ethernet  connected cluster?

    Does anyone have any experience with IP over Firewire and Qmaster? What I'm trying to do (for now) is to have a file server connected to a bunch of Firewire HD's, then that connected to two other macs via IP over Firewire, and all that be a cluster.

  • Window preview not accessible after XP update

    Is someone experienced such kind of thing ? No longer access to the preview window neither window project check: the window does not appear but simulation runs (audio is present). Have to tape ESC key to come back to the main software. It seams the t

  • Error installing itunes 10.5

    I was happilly using an older version of itunes with my ipod video but needed to update as I now have an ipod touch.  When the update started it stopped almost imediately and said update failed.  I have tried removing all apple components from comput

  • Mapping IDOC to message body

    Hi, Is it possible to map an entire  structure into a message body ? We would normally map to a structure but in this case it will just a message body so we have an structure to go into an unstructured message body. For example we have a structured f