Update rules:Conditional update

Hi
Can we use update rules to conditionally update fields in a record.
By condtionally i mean to say that, from a delta record ,can we have some conditions so that based on that, we will update the fields.
Like based on conditions , we will update only selected fields .Is it possible using
update rules or by any other ways at the BW side.
Regards
Leon

Hi Dash
Please have a look at the req. below.
We have a scenario in which we have values for few fields when a record is created. But once the record is updated ,we will lose those by overwriting that with initial.But we need to maintain those values for those fields to be retained in the BW system in the delta update.
Eg. We have 50 fields in the extract structure , and for fields X,Y we have values 'S1','S2' respectively(char values ) when a record is created,but when the record is updated in CRM system,it will be overwritten by initial.So in the available delta record ,we don’t have the values 'S1','S2'.But in the BW system, we need to have the same      original values instead of initial value in the delta record.
Can you suggest a solution to maintain the original values ?
Does BW support conditional update,like based on condition check,update the some selected fields of the record instead of updating with all the fields in the delta record?
Regards
Leon

Similar Messages

  • Workflow Rule Condition : impact of the "LookupValue"

    Hello,
    I would like to know something about he "LookupValue" (eg.1) impact in the "workflow rule condition". What is exactly the role of the "LookupValue"? Does it have an impact if I decide to delete it and just write the value needed (eg. 2) ?
    eg.1 : ... =LookupValue("OCC_CUST_LOV_OPTY_4", "Value Needed")
    eg.2 : ... =("Value Needed")
    Could someone help me?
    Thanks and regards.
    Edited by: user5840933 on 5 mars 2009 03:44

    Hi !
    The lookupValue function is very useful. Imagine you created 10 workflows with a condition such as : PICKLIST="Value".
    Then imagine you have to modify the "Value" of this picklist in "Value2" for example. This means you will have to update your 10 workflows to put "Value2" instead of "Value".
    Using the LookupValue function, it will automatically get the picklist value based on the code corresponding to the value.
    LookupValue(PICKLIST, "A") will return the value corresponding to the code "A", no matter what the value is.
    In the expression builder, after chosing the field in the picklist, click on the link "Get acceptable values". Then click on a value and the LookupValue function will appear in your expression.
    Hope this will help, feel free to ask more !
    Max
    [See Mike L announcement|http://forums.oracle.com/forums/ann.jspa?annID=883]

  • How to set up rules/conditions on a drop down box to ensure its been filled if a value in a text box is selected.

    Hi, I am in midst of creating a form in infopath. I have a text box field in which the user will enter the number of issues he has. if the user has entered the number of issues he has, then he will need to select the type of issues from a multi selection
    box. Thus i need to know how to set up rules/conditions to ensure that the user has to complete the multi selection box if he enters a value in text box for the number of issues. 

    I assume what you are asking is to make multi selection box as mandatory. If not please explain with a example
    Try below:
    http://webcache.googleusercontent.com/search?q=cache:ItIYeZ8K2gEJ:sharepointkings.blogspot.com/2013/06/make-multi-select-list-box-required-in.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
    If this helped you resolve your issue, please mark it Answered

  • Rule condition for employee #

    Hi all,
    I wanted to perform some special operations for only one concrete user.
    Anybody knows if there is a rule condition which is able to check an employee number?
    Thanks in advance.

    I don't think we can perform specifically for 1 user. We can do for Employee sub-group and Employee sub-group grouping.
    Suggession: You can have that employee to special emp subgroup? and then write PCRs for that emp subgroup.
    OR
    Elaborate in details what are planning to do with that emp and I can think more.

  • Set Rule conditions for Determine Tax Applicability rules

    Hi
    We are doing Tax setups In Release 12. We need to setup the Rule condition for Determine tax Applicability as Applicable. can you please tell me the Naivgation Path.
    Regards
    Venkateswaran R

    rules contain a number of rule conditions each of which has its own parameters, like:
    tell application "Mail"
      set new_rule to make new rule at end of rules with properties {name:"New Rule", all conditions must be met:true, move message:mailbox "Some Mailbox"}
      tell new_rule
        make new rule condition at end of rule conditions with properties {rule type:from header, qualifier:equal to value, expression:"[email protected]"}
        make new rule condition at end of rule conditions with properties {rule type:subject header, qualifier:does contain value, expression:"Trigger Phrase"}
      end tell
    end tell

  • Dbms_rule_adm does not allow creation of rule condition 4000 characters

    The underlying sotrage table for streams rules has a CLOB assigned as a datatype for storing rule condition. Unfortunately, the dbms_rule_adm package has procedures that take in varchar2 which implies that the rule condition cannot be more than 4000 characters.
    Also, is it possible to create a capture process specifing a rule condition that the event be captured only when certain columns of the table are modified. I've successfully done this by associating a rule set with a capture process and the rule set will contain :dml based WHERE clause. The only issue here is that if I have a table with many columns the rule condition will be more than 4000 characters. I've also tried to call a pl/sql function in the rule condition to perform the where clause operation, but the capture process stops evaluating the rule condition.
    Any help is appreciated.

    Sounds like a bug to me (or limitation, may be ;).
    The rule 'condition' column should have been a CLOB in those procedures rather than VARCHAR2.
    Have you contacted Oracle Support?
    I would love to know how you resolve this issues.
    Thanks.
    - Kirti

  • Is it possible to use "not" logical operator in a Business Rule Condition?

    This seems like a very simple request to me, but I cannot see any other questions/answers about it.
    Can I add a "not" to my Conditions in a Business Rule?
    My scenario is that I have a core Entity with a Type.  The Type is a domain attribute with a Code and Name.  The Code of the core Entity should in the form 'AA-9999', where 'AA' is the Code from Type.
    The idea is that I have a business rule with the condition "not
    Code starts with DBA.Type.Code" and the Action would be "Code is not valid".
    Is this possible?  Is there a better way of implementing this?
    Thanks,
    Michael

    Yeah! This is the board in question! But it has lots of versions, like K7T Pro, K7T Pro2 (my one!), K7T Turbo, K7T Turbo Limited Edition and K7T Turbo2, all of then are WS-6330 Lite...   They phisically diferent, but the BIOS seens to be the same... I want to know is this feature in the newer version is going to work or not on my board (MS 6330 Lite K7T Pro2 Ver:1) ....
    Doesn´t matter what board you choose (PRO, PRO2, Turbo, Turbo2) the MSI page shows all the same BIOS to Download... But I think that this feature is only applicable for K7T Turbo2, but will make no difference in my! At least that´s what I think...
    But you´re right! The board that I have is the one on the link you said!
    Thanks!      

  • Action 'is not valid' used in Business rule, but when rule condition met variable set to "unassigned"

    I have used "is not valid" in the action and set the action as " Manager is not valid" . But when the condition is met, the Manager field is assigned with "unassigned" value. I do not have other rules, which use default to "unassigned".
    Still for the records satisfying the condition, i see that the value of Manager column for those records is becoming "unassigned".
    I do not want the manager value to be reset to unassigned. I just want the validation failure to be reported over mail.
     

    Swap, is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to track changes when a contact updates contacts address section?

    I'm creating a workflow to create an integration event when a contact updates its contacts address section (number/street, address2, address3 city, state, zip).
    Record Type: Contact
    Trigger Event: When Modified record saved
    Workflow Rule Condition: None
    Action Type: Integration Event
    When I go to configure the workflow action, I don't see the address on the track changes list. How do I specifiy the address section to be tracked when it's modified?
    Thanks

    The best way would be to create a trigger in the database that would update the history table whenever the data was changed. The next best would be to use a stored procedure. I would not try to do this with server side scripting.

  • Field Update workflow action - Updating today's date into a field

    Hello there.
    I was hoping someone might be able to help with an error currently being experienced with regards to this workflow action.
    The requirement is for a workflow rule to action the printing of today's date into a custom field on an Activity record. The workflow rule condition is (PRE('<Status>') <> 'Completed') AND ([<Status>] = 'Completed'). This appears to be working and triggering the action correctly.
    The custom field to be updated is of type 'Date'. The value being updated into this field is 'Today()'. Overwrite existing values is checked.
    The default value for the field is also 'Today()'. Thus the workflow action involves overwriting the default value (i.e. the date the record was created) to the current date when the Status is switched to completed.
    When the workflow is triggered the following error message occurs:
    "Unable to evaluate workflow rule for the following reason:
    Update [Custom field name] : The value '01/18/2008' cannot be converted to a date time value. (SBL-DAT-00359) (SBL-ODS-00500)"
    One odd observation is that this error only occurs when trying to update activities that were created on previous days - (it will not overwrite the default value of 15/01/2008 with 18/01/2008). The workflow does not return an error message when asked to overwrite a value which is equal to itself (i.e. if the default value was 18/01/2008, the workflow runs without error, although the value stays the same as you would expect.)
    Can anyone shed any light on this? One potential thought is that our CRM is set up so that all dates appear in a different format - i.e. dates appear as dd/mm/yyy, rather than mm/dd/yyyy. Could this be contributing to this issue?
    Any help very much appreciated indeed.
    Thanks,
    Kieran
    ps. The reason for doing all this is that 'Completed date' for an activity does not appear in reporting. This has been raised with Oracle and apparently an 'enhancement request' has been registered.

    Guys,
    using the following statement, it does display the current system time
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp(),12,8)
    Now When i do this , it displays me a time which is 3 hours ahead
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp() + (3.0/24.0),12,8)
    My problem is to now display the difference of the current time stamp and the the time which shows 3 hours ahead in one field
    Thats is substracting the first timestamp syntax fro mthe second timestamp syntax
    and ofcourse if I copy paste both the syntaxes and put a minus sign in between, it doesnt work
    Timestamdiff is not allowed in workflows or field validations :(
    Anyone has any ideas?
    Nick

  • Time Based Workflow - update existing activities?

    Hi, I've added a checkbox field to my activities template, and wondered if it is possible to update this field on existing >124K activity records using a time based workflow. <br><br> Has anyone come across this requirement, or have any thoughts on how to solve the issue? <br><br> Thanking you in advance for assistance.
    Edited by: Sherry10602332 on Oct 11, 2010 12:07 PM

    Hello SKJ
    Your requirement is to send an email notification to an owner if the Opportunity remains with sales Stage = "Inquiry" for more than 90 days.
    New Record Saved.
    This means even the opportunity can be modified but the sales stage should not change. For e.g. when i create a new record, I can have the sales stage as "Inquiry" and save. At a later date I can modify the description of the opportunity (this would change the modified date), but the sales stage remains at Inquiry. Thus the notification should go 90 days after the sales stage has been set and not since last modified date. Keeping this in mind the condition the rule condition "Rule Condition : Sales stage = "Inquiry" and modified date = Created date" needs to be modified as Sales stage = "Inquiry".
    Coming to Modified Condition:
    Trigger Event - When Modified Record Saved
    Rule Condition : (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") OR ([<SalesStage>]="Inquiry")
    Wait 90 Days
    Revaluate Conditon = 'Y'
    Action Send Email Notification
    Explanation
    When you set the sales Stage as "Inquiry", the condition (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") would be satissfied and then the workflow would trigger. After 90 days if the sales stage is still in "Inquiry", the second part of the condition "[<SalesStage>]="Inquiry" would be satisfied and the email notification would be sent. If the sales stage has been changed to other sales stage, then the condition would fail and the notification would not be sent.
    Regards,
    Paul Swarnapandian

  • Update a Checkbox based on the value of another Checkbox

    We have a business rule that needs to following to happen.
    If the "Commit" checkbox is checked then the "Forecast" checkbox needs to be checked.
    We would like to handle this through workflow. Here is what we have done so far
    Workflow Rule Condition: FieldValue('<bCommit_ITAG>') = 'Y'
    Action: Field to Update - Field Name* is set to Forecast
    Value is set to: [<Forecast>]='Y'
    Thanks for the help

    Brian,
    What you have written should work, try Value is set to: <Forecast>=Yes.
    This should also be created in the Administration section as its not web services but workflows, you'll get better responses.
    cheers
    Alex

  • Help using Rules for aggregation conditions

    I am trying to utilize the application server rules engine to enforce validation on the XML payload. What I am trying to do is use it for a timesheet application, where after a user enters their hours, they submit and it gets some simple validation using the rules engine and gets returned if not valid according to the ruleset. The application supports multiple rows of hours entered, with each row specifying a unique task/activity worked that period. I have it working as I want using XML facts and RL Functions to determine the rules, but I want to take away the RL functions that need to iterate through each row and replace them with aggregate functions in the rule conditions themselves. Here are the rules I want to enforce:
    <ul>
    <li>An employee must not enter more than x hours of time worked per day, where x is a variable defined in the rules engine. As a constraint the number obviously cannot exceed 24. This rules must span all row entries submitted to sum the amount of hours entered for each day.</li>
    <li>An employee must enter at least y hours worked total each week, where y is a variable defined in the rules engine. Typically this will be defined as 40 hours. It must aggregate all hours entered in all rows for the week to determine how many have been submitted.</li>
    </ul>
    Currently I have 2 RL functions that each return true/false and check the above conditions, but each need to iterate through all rows entered and sum up the hours entered. This is probably satisfactory except my purpose is to show the power of using the rules engine to a client, and if I need to show them I had to develop custom RL code to support this I fear they may shy away from using it.
    Here is the general structure of my XML payload:
    <Timesheet>
      <EmployeeDetails>
        <FirstName>John</FirstName>
        <LastName>Doe</LastName>
        <EmployeeID>12345</EmployeeID>
      </EmployeeDetails>
      <WeeklyHoursEntries>
        <WeeklyHoursEntryRow>
          <TaskDetails>
            <Activity>TaskActivity1</Activity>
            <Description>Some description here</Description>
            <Category>REG</Category>
          </TaskDetails>
          <HoursEntries>
            <Day1>0</Day1>
             <Day2>8</Day1>
             <Day3>8</Day1>
             <Day4>9</Day1>
             <Day5>5</Day1>
             <Day6>10</Day1>
             <Day7>0</Day1>
           </HourEntries>
         </WeeklyHoursEntryRow>
         <WeeklyHoursEntryRow>
           <TaskDetails>
             <Activity>TaskActivity1</Activity>
             <Description>Some description here</Description>
             <Category>OVT</Category>
           </TaskDetails>
           <HoursEntries>
             <Day1>0</Day1>
             <Day2>2</Day1>
             <Day3>8</Day1>
             <Day4>0/Day1>
             <Day5>0</Day1>
             <Day6>10</Day1>
             <Day7>0</Day1>
           </HourEntries>
         </WeeklyHoursEntryRow>
       </WeeklyHoursEntries>
    </Timesheet>

    This is an administrators subforum. You might have more luck in some developers subforum here on OTN?

  • Can I export SMART Playlist conditions/rules?

    Is there anyway I can export the actual rules/conditions for a Smart playlist? I have quite a few complicated ones and ideally I'd like to be able to back them up in the event of rebuilding my library - maybe even import the rules again or perhaps share them with other users. If there is only an XML I can copy/edit/view the details then I'm happy to fire up a text editor etc.
    Thanks in advance.
    (Also posted on iLounge.com)

    Well I'm stumped.
    They may or may not be Base64 as I honestly don't grasp that concept (and an online BAse64 decoder made it even less intelligable!) but whatever it is the criteria seem to be encoded in the XML file. It rather looks like the relevant part of the encoded string is approximately 3 times as long as the original. Whilst I can see sublte differences in the Criteria String when I make small changes to the Smart Playlist my old & tired brain can't see a proper pattern.
    For example the Smart Playlist for "Artist is ABCDEFG ABCDEFG ABCDEFG ABCDEFG" seems to encode into a string in the XML file whose most relevant part is 'AAA+AEEAQgBDAEQARQBGAEcAIABBAEIAQwBEAEUARgBHACAAQQBCAEMARABFAEYARwAgAEEAQgBDAE QARQBGAEc=' - I can see two repeated bits (AEEAQgBDAEQARQBGAEc) but not 4.
    I give in!

  • Moving documents to other document library using content organizer rule

    Hi Team,<o:p></o:p>
    I have created a content organizer rule to move documents from one document library to another.<o:p></o:p>
    I have two document libraries say Doc A and Doc B, where Doc A is a source library (where I will upload the documents) and a folder Fol 1 in Doc B is a target destination (where document should
    be moved). I got to know from one of the other posts is, Doc A should be involved in any of the content organizer rules to be able to move documents to Doc B.<o:p></o:p>
    Right now, I have not created any content organizer rule to involve Doc A. And, a folder Fol1 in Doc B is a target destination for my content organizer rule.<o:p></o:p>
    1. I have uploaded a document in Doc A and by using "Send To" command, I have send it to Doc B. This document properties fulfills content organizer rule condition. But still it stays
    inside Doc B only, and not moved to folder Fol1 automatically (which is expected, I hope so)<o:p></o:p>
    2. Now if I again update the properties of the document, it will still be inside Doc B only and not moved inside Fol1 <o:p></o:p>
    3. I have opened Doc B in File explorer using "Open with Explorer" command and copied a document inside Doc B. Now after refreshing Doc B, even though the newly added document fulfills
    the content organizer rule condition, it is not moved inside Fol1 automatically (which it should, I suppose)<o:p></o:p>
    Can you please help me with the queries above?<o:p></o:p>
    Many thanks up-front for your help and support.<o:p></o:p>
    Just for an FYI: The rule which I created is to check whether the document title is not Empty. If it is
    not, condition will be true.<o:p></o:p>
    Thanks,
    Vikas Mishra
    Vikas Mishra

    try these link:
    https://support.office.com/en-us/article/Configure-the-Content-Organizer-to-route-documents-b0875658-69bc-4f48-addb-e3c5f01f2d9a?ui=en-US&rs=en-001&ad=US
    http://www.boostsolutions.com/blog/how-to-create-content-organizer-rules-in-sharepoint-2010/
    http://community.office365.com/en-us/f/154/t/255043.aspx
    http://community.office365.com/en-us/f/176/t/252790.aspx
    https://support.office.com/en-in/article/Create-Content-Organizer-rules-to-route-documents-1e4d37a3-635d-4764-b0fc-f7c5356c1900

Maybe you are looking for