<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: uable to update field with dynamic value as it is Choice field. in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878147#M517678</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/440798"&gt;@swathisarang98&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/258237"&gt;@Sohail Khilji&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my sample script and its output. In the screen shot we can see that two Software value came.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
    try {
        var requestBody = request.body.data;
        var caller = requestBody.caller;
        var category = requestBody.category;
		var shortdescription = requestBody.shortdescription;


        // Insert record into UserTable
        var gr = new GlideRecord('incident');
        gr.initialize();
        gr.setValue('caller_id', caller);
        gr.setValue('category', category);
		gr.setValue('short_description', shortdescription);
        gr.insert();
        response.setStatus(201); // 201 Created
        response.setBody({
            message: "Records created successfully in incident table"
        });
    } catch (ex) {
        response.setStatus(500); // 500 Internal Server Error
        response.setBody({
            error: "An error occurred while processing the request"
        });
    }
})(request, response);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srinidhi_0-1711477700146.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/342620iB4D1FD5ACF9A251D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srinidhi_0-1711477700146.png" alt="srinidhi_0-1711477700146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 18:30:02 GMT</pubDate>
    <dc:creator>srinidhi</dc:creator>
    <dc:date>2024-03-26T18:30:02Z</dc:date>
    <item>
      <title>uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877010#M517576</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to update choice field dynamically, when i try to use below syntax it is creating duplicate record.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; current.setValue(FieldName, displayName);&lt;/LI-CODE&gt;&lt;P&gt;please suggest me here Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:06:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877010#M517576</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-26T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877025#M517578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/24588"&gt;@srinidhi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you explain your query bit clear ?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:33:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877025#M517578</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-03-26T07:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877033#M517579</link>
      <description>&lt;P&gt;Hello Sohail,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Through payload am storing all the values in different variables.&lt;/P&gt;&lt;P&gt;Am gliding to new table and creating the record with these values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but for the choice field when i try to update, it's updating and making duplicate entry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:42:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877033#M517579</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-26T07:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877108#M517586</link>
      <description>&lt;P&gt;Make sure to set the appropriate value to your choice field. If it finds a diffrence to existing choices it will trend to create a new choice (may be duplication).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure to use techenical name of choice to set the value as example below for incident state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;g_form.getValue('state', '3'); // instead of inProgress use ''3''&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Mar 2024 08:42:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877108#M517586</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-03-26T08:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877158#M517596</link>
      <description>&lt;P&gt;Yes Sohail, i got your point. but from the payload i will be getting the value as inProgress not 3 right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 09:19:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877158#M517596</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-26T09:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877182#M517598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/24588"&gt;@srinidhi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please follow these steps to avoid creating duplicate entries when updating a choice field:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Unique Identification:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Ensure that you’re using a unique identifier (like&amp;nbsp;&lt;/SPAN&gt;sys_id&lt;SPAN&gt;) to fetch the correct record you wish to update. This avoids creating a new record accidentally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Correct Use of setValue for Choice Fields:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;For choice fields, make sure to use the internal value rather than the display value unless you’re using a method that specifically requires the label (display value).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Correctly Differentiate Between Insert and Update:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Check if a record exists before deciding to insert a new one or update an existing one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Considering you’re reading from a payload and creating or updating a record in a new table, here’s a refined approach:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var targetGR = new GlideRecord('target_table_name'); // Replace ‘target_table_name’ with the actual name of your target table

// Assuming you have a unique identifier to check if it’s an update vs. insert.
// For illustration, let’s use ‘unique_field’.
targetGR.addQuery('unique_field', payload.unique_value); // ‘payload.unique_value’ should be replaced with how you’re accessing your payload’s unique identifier value
targetGR.query();

if (targetGR.next()) {
    // This means a record exists, and we are updating it.
} else {
    // No record found, so we’re creating a new one.
    targetGR.initialize();
    targetGR.unique_field = payload.unique_value; // Set the unique field value for identification
}

// Set other fields including the choice field. Assuming ‘choiceFieldName’ is your choice field and ‘choiceFieldValue’ is the internal value you want to set.
targetGR.choiceFieldName = payload.choiceFieldValue; // Ensure ‘payload.choiceFieldValue’ contains the internal value, not the display label

// Save the changes
targetGR.update(); // or targetGR.insert() if you’re creating a new record and haven’t used ‘next()’ on the GlideRecord.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Note:&amp;nbsp;Please Mark this&amp;nbsp;Helpful&amp;nbsp;and&amp;nbsp;Accepted Solution.&amp;nbsp;If this Helps you to understand. This will help both the community and me..&lt;BR /&gt;- Keep Learning ‌‌&lt;BR /&gt;Thanks &amp;amp; Regards&amp;nbsp;&lt;BR /&gt;Deepak Sharma&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 09:37:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877182#M517598</guid>
      <dc:creator>Deepak Shaerma</dc:creator>
      <dc:date>2024-03-26T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877252#M517613</link>
      <description>&lt;P&gt;Thanks for the detailed script.&lt;/P&gt;&lt;P&gt;My query here is for the below line of script, i need to give displayname only for choice field value, because for the payload i will be getting the displayname only.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;targetGR.choiceFieldName = payload.choiceFieldValue; // &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 10:22:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877252#M517613</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-26T10:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877267#M517614</link>
      <description>&lt;P&gt;The do like this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;if(payload.choiceFieldValue == 'xxxx'){ //check values accordingly
target.choiceFieldValue = 'backendvalue of choice field'; //set value based on your system techenical name
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Mar 2024 10:27:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877267#M517614</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-03-26T10:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877268#M517615</link>
      <description>&lt;P&gt;why chat GPT ?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 10:29:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877268#M517615</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-03-26T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877332#M517620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/24588"&gt;@srinidhi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can not directly do this through set value, try to get values from Payload if that is not at all possible then as a workaround what you can do is store the state choice label inprogress or fetch that value in a variable and query sys_choice table and add table name in query and then set the state value .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example;&lt;/P&gt;&lt;P&gt;for testing i have a randon=m string field where i set value as In Progress and in before update business rule i gliderecord to sys_ choice table and got the value for label In progress and set the state value in incident,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swathisarang98_0-1711451282608.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/342337iF443FA4DA134EC24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="swathisarang98_0-1711451282608.png" alt="swathisarang98_0-1711451282608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {

   

    var choiceLabel = current.u_string_1;

	//gs.info('label: ' + choiceLabel);
    var gchoice = new GlideRecord('sys_choice');
    gchoice.addEncodedQuery('nameSTARTSWITHINCIDENT^element=state');
    gchoice.addQuery('label', choiceLabel); // here i have added dummy value stored in a string to check but what you can do is get the pay load value store it in a variable and use that to query
    gchoice.query();
    if (gchoice.next()) {
		//gs.info('value '+ gchoice.getValue('value'));
        current.setValue('state', gchoice.getValue('value'));
    }


})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please mark this comment as Correct Answer/Helpful if it helped you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Swathi Sarang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 11:09:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877332#M517620</guid>
      <dc:creator>swathisarang98</dc:creator>
      <dc:date>2024-03-26T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877345#M517623</link>
      <description>&lt;P&gt;Yes no matter what value you get from the payload even if its 3 or inprogress you can do a lookup/gliderecord on choice table get the appropriate value and use g_form.setValue(); to set the value. Let me know were your struck...&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 11:21:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2877345#M517623</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-03-26T11:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878104#M517675</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/24588"&gt;@srinidhi&lt;/a&gt;&amp;nbsp;,Thanks for marking my answer as helpful. If it helped you in any way please accept the solution so that it will be beneficial to the future readers with the same query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:57:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878104#M517675</guid>
      <dc:creator>swathisarang98</dc:creator>
      <dc:date>2024-03-26T17:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878147#M517678</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/440798"&gt;@swathisarang98&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/258237"&gt;@Sohail Khilji&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my sample script and its output. In the screen shot we can see that two Software value came.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
    try {
        var requestBody = request.body.data;
        var caller = requestBody.caller;
        var category = requestBody.category;
		var shortdescription = requestBody.shortdescription;


        // Insert record into UserTable
        var gr = new GlideRecord('incident');
        gr.initialize();
        gr.setValue('caller_id', caller);
        gr.setValue('category', category);
		gr.setValue('short_description', shortdescription);
        gr.insert();
        response.setStatus(201); // 201 Created
        response.setBody({
            message: "Records created successfully in incident table"
        });
    } catch (ex) {
        response.setStatus(500); // 500 Internal Server Error
        response.setBody({
            error: "An error occurred while processing the request"
        });
    }
})(request, response);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srinidhi_0-1711477700146.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/342620iB4D1FD5ACF9A251D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srinidhi_0-1711477700146.png" alt="srinidhi_0-1711477700146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:30:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878147#M517678</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-26T18:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878157#M517679</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/24588"&gt;@srinidhi&lt;/a&gt;&amp;nbsp; can you put some log (gs.info) and add requestBody.category in it and share the screenshot or paste the log here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:37:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878157#M517679</guid>
      <dc:creator>swathisarang98</dc:creator>
      <dc:date>2024-03-26T18:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878618#M517716</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/440798"&gt;@swathisarang98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the gs.info log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srinidhi_0-1711522280775.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/342734iF06AEC94127724C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srinidhi_0-1711522280775.png" alt="srinidhi_0-1711522280775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 06:51:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878618#M517716</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-27T06:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: uable to update field with dynamic value as it is Choice field.</title>
      <link>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878653#M517719</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/440798"&gt;@swathisarang98&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks its working fine!!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 07:46:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/uable-to-update-field-with-dynamic-value-as-it-is-choice-field/m-p/2878653#M517719</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2024-03-27T07:46:37Z</dc:date>
    </item>
  </channel>
</rss>

