Map Short description to record producer value:
current.short_description = producer.v_request_type + " Issue for " + producer.caller_id.getDisplayValue();
Map description to multiple record producer value:
current.description = "Type of Concern : " + "SCAN" + "\n" + "Scan Issue : " + producer.scan_issue.getDisplayValue() + "\n\n" + "Description : " + producer.v_describe_issue;
How to use if and else condition in record producer:
if (producer.v_request_type == "test") {
current.category = "customer_assistance";
current.subcategory = "point_of_contact_resolution";
}
else if (producer.v_request_type == "Test2") {
current.category = "customer_assistance";
current.subcategory = "point_of_contact_resolution";
}
else if (producer.v_request_type == "Test3") {
current.category = "customer_assistance";
current.subcategory = "point_of_contact_resolution";
}