Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Field Update By Changing Another Field — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Field Update By Changing Another Field

Received Response
16
Views
2
Comments
edited Oct 21, 2019 8:00AM in Intelligent Advisor for Fusion Service 2 comments

Summary

Update Interview Field

Content

Hi,

I have a requirement in Policy Modeling while changing Postcode value I have to change CRM_ID value.  In this below code I can only edit the value of Postcode. I can't change the value of CRM_ID.

In Modeling for both fields name property added (Postcode & CRM_ID).

Can anyone please help me to solve this issue.

 

Thanks,

Kalaimagal Eswaran

Version

19B

Code Snippet

OraclePolicyAutomation.AddExtension({
	customInput: function (control, interview) {
		if (control.getProperty("name") == "Postcode") {
			return {
				mount: function (el) {
					//on change function goes here
					interview.setInputValue("CRM_ID", 30);
				},
				update: function (el) {
					
				},
				unmount: function (el) {
					console.log("unmount");
				}
			}
		}
	}
});

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!