Update activity status based on Customer request status,

Hello,
I have a requirement to update the status field of a service request activity to Completed when the service request status = closed. Any suggestions?
Thanks,
SKJ

If the field they are updating is in the same object it shouldn't be an issue. If another object needs to be updated then the workflow won't work.
Integration events can be used for this. generate a event and have a external process poll the integration event queue for new events. when received, it can do whatever is necessary via web services.

Similar Messages

  • Update parent status based on all children status and sum of children amount.

    Hi,
    I need to write sql query for the following scenarios.
    We have 3 financial systems (sys1, sys2, sys3) where a same transaction gets entered independently into each system OR entered into one and exported to the other system. Transaction need not be in all 3 systems.
    We need to create reconcile report to see the status of transaction and display if it is reconciled or not. For this, in our stored procedure we are pulling data from 3 systems into temp tables and using CTE and other logic marking each transaction status
    in each system temp table. One of the systems (eg sys1), we made it as source.
    Sys1 temp table has both parent and child records and are distinguished using type. Sys2 and sys3 has only children records.  When report is created, we are showing parent  from sys1 temp table and
    children from new temp table where children status is updated based on availability of it in all 3 systems.
    DECLARE
    @sys1 TABLE
    ID int,
    childID varchar(20),
    ParentID varchar(20),
    RecType decimal(3,0),
    SettleDate smalldatetime,
    Principal money,
    Sys3ID varchar(16)
    NULL,
    Sys2ID int
    NULL,
                            Status varchar(25) NULL
    DECLARE
    @sys2 TABLE
    TxID int
    PRIMARY KEY NOT
    NULL,
    CommonTransactionID varchar(16),
    SettleDate smalldatetime,
    Par money,
    Sys3ID varchar(16) NULL,
    Sys1ChildID,
    Sys1ParentID bigint
    DECLARE
    @sys3 TABLE
    Sys3ID varchar(16),
    REFERENCE
    varchar(16),
    VALUE_DATE datetime,
    DIRECTION char(1),
    AMOUNT money,
    RecSource varchar(2)
    Insert Into @sys1 (ID, childID, ParentID, RecType, SettleDate, Principal)
    Select 172876, 217955, 217954, 100, ‘2015-03-01’, 100.00
    Union
    Select 172877, 217956, 217955, 50, ‘2015-03-01’, 15.00
    Union
    Select 172878, 217957, 217955, 50, ‘2015-03-01’, 25.00
    union
    Select 172879, 217958, 217955, 50, ‘2015-03-01’, 10.00
    Union
    Select 172880, 217959, 217955, 50, ‘2015-03-01’, 10.00
    union
    Select 172881, 217960, 217955, 50, ‘2015-03-01’, 40.00
    Insert Into @sys2(TxID, Sys1ID, settleDate, Par)
    Select 4336620, 217956, ‘2015-03-01’, 15.00
    Union
    Select 4336621, 217957, ‘2015-03-01’, 25.00
    union
    Select 4336613, 217958, ‘2015-03-01’, 10.00
    Union
    Select 4336614, 217959, ‘2015-03-01’, 10.00
    union
    Select 4336615, 217960, ‘2015-03-01’, 40.00
    Insert into @sys3(Sys3ID, Reference, Value_Date, Direction, Amount)
    Select 1, ‘5654471 4336620’, ‘2015-03-01’, ‘O’, 15.00
    Union
    Select 2, ‘5654481 4336621’, ‘2015-03-01’, 'O',25.00
    Union
    Select 3, ‘5654491 4336613’, ‘2015-03-01’, 'O',10.00
    Union
    Select 4, ‘5654501 4336614’, ‘2015-03-01’, 'O',10.00
    Union
    Select 5, ‘5654511 4336615’, ‘2015-03-01’, 'O', 40.00
    After going thru lot of other logic, final temp table will have only children with status assigned. The above temp table data is only for 1 scenario.
    The following are status of children.
    This is how status of children is determined:
    Not Settled – All child records start as Not settled in temp tables.
    Settled – when record exists in sys3 and other criteria is met.
    Partially settled – record exists in sys3 and either in sys1 or sys2 or other criteria is not met.
    Reconciled – child record should exist in all 3 systems and all criteria is match
    Mismatched – record has wrong amount when compared in any of 2 systems.
    **************** My Part below*******************
    My part is to update the status of parent based on children status and parent amount must match sum of child amounts. If amounts don’t match, then leave the status of parent as null.
    Determining the status of parent:
    Not Settled – None of children has yet settled.
    Settled – All children are settled.
    Partially settled – some of children are as settled OR 1+ children are partially settled.
    Reconciled – All children are reconciled.
    Partially Reconciled – some children are partially reconciled.
    Null – 1 or more childen has a status of mismatched.
    AND sum of children amount should match parent amount
    How can I update the status of parent based on all children and sum of amount of children equal to parent amount.
    Thanks,
    Spunny

    >> We have 3 financial systems (sys1, sys2, sys3) where the same transaction gets entered independently into each system OR entered into one and exported to the other system. Transaction need not be in all 3 systems. <<
    Your design is fundamentally wrong. In RDBMS, we want to have one fact, one way, in one place in the schema. The goal of all databases is to remove redundancy, not increase it. This not just SQL; this was true for hierarchical and network databases before them! 
    >> We need to create reconcile report to see the status of transaction and display if it is reconciled or not. For this, in our stored procedure we are pulling data from 3 systems into temp tables and using CTE and other logic marking each transaction
    status in each system temp table. One of the systems (eg sys1), we made it as source. <<
    You have re-invent the worst of 1970's file processing, but you want to use a temp table instead of scratch tape. This is not RDBMS or good SQL. 
    >> Sys1 temp table has both parent [sic] and child [sic] records [sic] and are distinguished using type. Sys2 and sys3 has only children [sic] records [sic]. When report is created, we are showing parent from sys1 temp table and children from new temp
    table where children [sic] status is updated based on availability of it in all 3 systems. <, 
    The terms “child” and “parent” are not part of RDBMS. They come from network databases. You are building fake pointer chains we do have referenced and referencing tables. Or do you mean to model weak and strong entities? Where is the DRI actions?
    These things are not tables! They have no keys, so they are called (garbage) piles. But even the garbage is wrong. There is no generic “id” in RDBMS; it has to be “<something in particular>_id” to be valid. Since you do not do math on it, it should not
    be a numeric. 
    A “rec_type” is a nominal scale, so it cannot be a numeric either! Likewise, we have no generic “status”, but a status is state of being so it has to have a temporal dimension. And did you know that “reference” is a reserved word in SQL as well as another ISO-11179
    violation. 
    The MONEY data type does not do correct math. Google it! It is another Sybase left-over that nobody should ever use. 
    Finally, you used the old Sybase INSERT INTO ..SELECT..), .. disaster instead of the ANSI/ISO Standard VALUES table constructor. 
    >> This is how status of children [sic] is determined: ..
    My part is to update the status of parent [sic] based on children [sic] status and parent [sic] amount must match sum of child [sic] amounts.<<
    Your narrative describes what Tom Johnston called a Non-Normal Form Redundancy. We do not put summary data in the strong entity; another basic data modeling principle. We build a VIEW that gives us the current summary. Your mindset is still in punch cards and
    magnetic tape files. 
    "No matter how far you have gone down the wrong road, turn around!" -- Turkish proverb. 
    Can you start over and do it right? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Update superior equipment status based on sub equipment status

    Dear friends,
    I have a scenario for calibration process for  which there are two equipments .One sub equipment and the other superior equipment. Calibration process is done for sub equipment and I have given usage decision as rejected based on which sub equipment staus gets updated as NPRT(PRT not ready for use). Now the client requirement is as that the superior equipment also get the status NPRT since they are linked through superior/sub equipment relation. Kindly suggest some solutions.
    best regds
    Arun

    Dear friends ,
    I have observed that if a sub equipment is assigned to a superior equipment ,the equipment status of sub equipment does not get updated when calibration process is run.(NPRT status does not get updated if an equipment is installed to a superior eqpt when usage decision is made for not accepted). So there is no possiblity of updating the superior equipment status. Hence kindly ignore my query.
    best regds
    Arun

  • Custom Order Status

    Hi,
    Is it possible to create custom order status ? What are the steps involved ?
    Also what api could be used for updating an order status to the custom order status ?
    Thanks

    Hi Vinit
    Can you please explain as to how did you achieve this?

  • Update order user status based on a custom check box value in web ui

    Hi Experts,
    I have a requirement to Update the  user status based on a custom check box value in web ui.
    This is needed at the followup for a SR, the component is BT116H_SRVO, Details View.
    I created a value node with 4 checkboxes, based on the check box value, the corresponding user status
    need to be updated.
    How can I reach to the order save functionality of SAP in EH_ONSAVE method, so that syatem can capture my check box value, along with other screen fields, and append the status parameter in Order maintain?
    or do I have to call order maintain in even handler for checkbox, which will affect performance .....
    Pls help.
    Regards,
    Lakshmi

    Hi,
    In your event handler you can use bol entity corresponding to status BTStatusH and change the user status.
    Best regards,
    Caíque Escaler

  • Infotype update on claim request status

    Hi,
    I have one scenario where I have to update a z infotype on & every processing status for claim request. The processing status gets changes on creation & approval process through workflow. I am using the standard workflow for claim & reimbursement & implement the BADI to get the approval level. I have three levels of approval level.
    Is there any way to update IT through the same BADI or another BADI "HRPBSIN_COMPLETE_UPDATE". Pl. give suggestion.
    Thanks,
    Snita Shaw

    Hi,
    You can use the badi HRPBSIN_NEXT_APPROVER to update the custom infotype.
    Ex. If you want to save some fields of custom infotype when the employee applies, check the "Approver Level = 1."
    If you want to save some fields when 1st level manager approves " Approver Level = 2."
    Based on these "Approver Level" you can create and change the custom infotype.
    Regards,
    Jyothi

  • SC Orchestrator Incident Request Status update monitoring

    Hi,
    Is there a way to set up an incident request status update monitoring with orchestrator ?
    SCSM 2012R2 and Orchestrator 2012R2.
    I've tried to use "Monitor Object" when IR is updated but it didn't work as I expected. I've extended IR class by adding custom date field named "PendigDate" and need to update these field by running a Runbook with Monitor Object and
    Update Object but I did not find any possibility to set up (in Monitor Object) condition for "When IR Status chaged FROM Active TO Pending" as it can be set up in SCSM Workflow but when I try to use workflow I am not able to update
    "PendigDate" custom field in IR. 

    Hi,
    please choose your extended Class of Incident in the "Monitoring Object" in Orchestrator, not the original Incident Class
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • InfoPackage error message "Subsequent update (requests) : Status unknown "

    After running an InfoPackage the status is set to green, but when you look at the Details tab you see an error message "Subsequent update (requests) : Status unknown "  and "With DTP in InfoProvider ZHRPYO00 : Further processed " under it. We did not used to get this error message and don't quite understand why are we getting it now. Could someone explain, please?
    Thanks!
    Luda

    Hi,
    Usually this error could be while loading the DSO or loading DSO first and then to other infoprovider.
    Error message tab at the monitor should give you clear error message where it went wrong. check this tab.
    some time while activating the data this may fail for the DSO object. or some time due to authorization problem to load the data automatically from the DSO to infocubes.
    If possible let me know what is error message.
    Regards,
    Vishwa.

  • Delta load -  request status is partially activated

    Hi to All,
    From one Info package data is loading to 1 CUBE, 1 ODS simaltaneously through PSA, but data is not updated to PSA. Then I have activated the ODS and then I changed the ODS request status to GREEN but here transfered records are 2000 but added records are 0, after few minuets data packets came into PSA then I am trying to CHANGE THE REQUEST ODS STATUS TO RED, IT IS SAYING "REQUEST IS PARTIALLY ACTIVATED".
    In both ODS and CUBE manual updation terminating.
    LOAD IS : DELTA
    Pls can anyody give suggestions/inputs to come out from the problem.
    Thanks In Adv,
    MSM.

    Hi Akash,
    Here ODS request status is changed to(from RED ->GREEN) GREEN forcebly b'z red request is not activating the ODS, after ODS activation when I am trying to change the request status to RED, its saying " REQUEST IS PARTIALLY ACTIVATED NOT POSSIBLE TO CHANGE THE QM STATUS"
    If we want to delete the request the REQUEST SHOULD BE IN RED, its allowing to change to RED
    pls help me on this what can we do now
    Thanks in Adv
    MSM.

  • Why does my iPad 4 keep update requested status for ios8?

    Why does my iPad 4 keep update requested status for ios8?

    The Apple servers are slammed right now with iOS 7 downloads AND activation requests.
    Be patient and try again later.

  • Request Status not Activating

    Dear All,
                  I have created Datasource and DSO and flat file and also created DTP.  If i request perticular request id , its not activating.  request status not activating.
    With Regards,
    Baskaran.

    Hi Baskaran,
    Follow these steps.
    Do the loading process as you are doing i.e. using Info package load to PSA, then using DTP to DSO.
    Then after loading data, you go to manage. Then Select your green request and then click activate.
    A new window will open. There your request will be green. Again select it and click on start (do not click on stop).
    Then you will find refresh button there. Click on it. Your green request will turn yellow. Now go on clicking refresh until your request disappears from there. After that close the window.
    Then again click on manage. Click on refresh. Now select active data. Your data will be displayed.
    Hope this helps.
    thanks,
    rahul

  • Request Status Update

    Is "Request Status Update" a feature that is available within Project Pro 2013? If so, where is it located?
    \Spiro Theopoulos, Montreal, QC (Canada)

    With Project On-line I guess given that there are no reminders/ notifications, there would not be any benefit in implementing it. Is this correct?
    \Spiro Theopoulos, Montreal, QC (Canada)

  • Customize the Service Request Status

    I am trying to customize the status for a Service Request form.  We want to add some additional ones to that list.  I am not finding where I go to update that list.
    Cheers!
    Matt

    The list you are looking for is in the Library Tab, Lists view, Service Request status. take a look at
    How to Add a List Item.
    I'd like to argue that this is probably not what you want to do, however, as the status property is pretty tightly managed by the out-of-the-box workflows that move service requests forward, and manually setting these statuses will likely break the out-of-the-box
    activity status engine.
    Instead, you probably want to Create a new MP in the authoring tool, Locate and
    Extend the Service Request Class, add a new Enumeration property to your extension, use the Create List button to create a new list,
    Save and seal your class extension MP, close your original unsealed class extension MP and open the Sealed copy, Create a second MP to contain the form extension,
    Locate and
    Customize the Service Request form,
    add a new List Picker bound to the property and list you created before, Save and seal your Form Extension MP,
    Import both the sealed versions into your test system, Create a new (unsealed) Management pack in the test system and all your list items to the list you created earlier, test the forms
    and make sure they look right and show the right data, then Export the unsealed list MP, and import all three MPs (the sealed class MP, the sealed form MP, and the unsealed list items MP) into your production system.
    This has the advantage that it gives you a new place to store your custom SR statuses that you can set to be whatever you like, and doesn't break the out-of-the-box activity engine workflows, or the grooming engine that depends on the "closed"
    status.

  • Delete request  in ODS  or  Change request status

    Hi Experts!.
    I have been trying to delete a request from ODS,  and this have been Impossible.
    Originally Data was in ODS and in Cube. I deleted the data from the cube without problems.
    To delete the request from the ODS I turned the check status to red.
    If I try to delete the request from the ODS, at first, the request is flagged with a 'Trashbin' indicator, and when click 'Refresh' again, the 'Trashbin' indicator changes back to the 'Report is available' icon.
    I have already checked:
    - Data from this requests are not in any datatarget.
    - There are not any process locking the ODS.
    - I checked T.code SM37 josb BI_DEL* after deletion and the message was there was no records for that request.
    I decided to delete the data selectively and leave the request as already is,  but I can't get the request to green again. I have no message errors but it doesnt change.
    I entered to the monitor for the request and turned the status to green again, but outside is still in red.
    Can anybody helpme?
    Even deleting the request o turning it to green again will be a solution.
    Thanks a lot!.
    Ana M.

    Hi Ana,
    I think that you're able to change the total status, but not the status in the administration requests of ODS, because the system feels that the active table and the change log table are not aligned. This is a way to prevent to update records from ODS to other data target.
    So you have to realigned active table and change log.
    Try to delete the request in the change log related to the activation of the records you've uploaded. You can delete that request in PSA administration, the name of the request is ODSR*.
    For example: your request is REQU_1000. In the tab  "reconstruction" of the requests management of ODS you also find the name of the activation request for example ODSR_2000.  You'll find that request even if you don't use PSA during the upload!
    Once you set the correct selections for PSA tree (settings --> display selections for PSA tree), search in the PSA administration the request ODSR_2000 and delete it. 
    Hope this helps
    matteo

  • External Sales Order lines remain in Internal Req Requested status

    Hi
    Customer sales order lines are fulfilled by IR-ISO. When line progresses, it is set to have Internal Req Requested status. A scheduled program runs amd IR are created. However, sales order line status does not change to Internal Req Open. It remains in Internal Req Requested status.
    As a work around, workflow is rewound to 'Check ATR Qty' which is customized activity and then status changes to Internal Req Open.
    What could be the reason that workflow is not setting the status to Internal Req Open?
    Please help.
    Regards,
    Apps version : 12.0.4

    I think you better file this question in the Order Management group because they know the internals of headers, lines, etc. Unless there is something specific to the execution of the workflow process and you would like to modify it. You would have provide more details here.
    Regards,
    Alejandro

Maybe you are looking for

  • IP Phone SSL VPN to ASA using AnyConnect

    I have a CUCM 7.1.5. We are using Phone proxy today. I wanted to upgrade to IP phone SSL VPN. I know in 8.x and 9.x the Proxy phone is not supported and Cisco supports SSL VPN. However, The question is: if CUCM 7.1.5 supports Phone SSL VPN. Lastly, I

  • Cancel down payment cleared

    Hello,   in my business workflow I manage billing plans with down payments. I would like to know what is the right procedure, if there is one, to manage the following process: - I have a billing plan for 1000 u20AC: a down payment request for 200 u20

  • Ios7 audio is bad

    After update from IOS6 to IOS7 on my Ipad 2 my audio is distorted and noisy how do I correct this

  • Crystal Reports Server 2011 and BW 7 as a data source for uploaded reports.

    Hello, I am hoping someone can provide me with a clear answer for this. Lets assume.. 1. We are running crystal reports server 2011 and BW 7 2. We want to publish a report in the BI Launch pad so users can view it 3. Can we create a crystal report in

  • Have lost the istore app - how do i get it back

    how do i get lost i-phone store and update apps back on my iphone