on 01-13-2012 5:26 PM
Hi All,
I want to check if couple of important fields are changed using validation
Eg: i want to check if description or Division or Material type fields are changed using validation so that i can use a Branch step in Workflow to trigger validation only when those fields are changed.
Thanks in Advance
Sharma.
Hi sharma,
when u start workflow checkout the record and through validation u can compare for desired fields if
checkout version is same as original version.
Eg. In expression
Division[checkedout]=Division[original]
this checked out and original field u will get in the list of fields .
Regards,
Neethu Joy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
For MDM expression with check-out and check-in functionality
please follow the [Document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/102dc4e5-07c9-2910-93b3-f49c8ed52509?QuickLink=index&overridelayout=true]
This PDF gives detailed description about Validation and Expression.
Regards,
Abhishek
Hi Abhishek,
I have gone through the document but when i run the validation is doesnot through any error.
I have created two workflows one for add and one for update, which are launched immediately.upon saving a new record or updating an existing record
I have created a validation for the Name field as below
IF([ Is New checkout ] ,Name1) to check if the record is a new one or the name has been updated.
but when i run the validation for the newly created record or for the existing record by updating the Name. it say tha the record has faild validation.
Can you please guide me where i am going wrong?
Thanks in Advance.
Sharma
Hello Neethu Joy
Yes i did get the result as per the below expression.
Name1 = Original. Name1
but if the above expression fulfills our needs then when and where do we use the below options
[is checkout version] , [is normal checkout], [is new checkout] and [ is merged checkout].
As per my understanding these options are used to differentiate between the record's old and new values.
And what is the correct syntax to be used for the same.
Rgds,
Sharma.
Hi Sharma,
These expressions is itself a complete function which will return either true or false value and will executed on the entire records:
is checkout version:Checked out version of record?
is normal checkout:Checkout of existing record?
is new checkout:Checkout of new record?
is merged checkout:Checkout of merged records?
Regards,
Neethu Joy
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.