Skip to Content
author's profile photo Former Member
Former Member

Checking CR for Data Changes

Hello Experts,

We have a requirement where we need to verify that requester has changed at least one Data field in the CR before submitting it. Basically the requirement is to compare CR Data with Reuse area data & stop the requester from submitting the CR if there is no Data change.

In our scenario, we are deciding the next processor based on Data that is changed in the CR. So currently, if requester submits the CR without making any changes to Data, workflow gets lost because it not able to determine the next processor.

Any clues how can we achieve this ?

Best Regards,

Dheeraj

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2016 at 06:43 PM

    Hello Everybody,

    We have used method io_model -> get_changed fields to see if there is any change or not.

    Hope this helps for your requirements in future.

    Best regards,

    Dheeraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2016 at 12:52 PM

    Hi Dheeraj

    As per Std MDG behaviour if no change is changed is there in exiting object data then no CR will be generated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 07:36 AM

    The Convenience AP also provides a nice method for this requirement:

    if_usmd_conv_som_gov_api~get_entity_field_changes

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.