<?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 Fulfilling Requests Through Power Automate ServiceNow Connector in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2612027#M1015762</link>
    <description>&lt;P&gt;I have been tasked with creating an automation using Power Automate to perform actions when certain requests are made in ServiceNow.&amp;nbsp; I'm not a ServiceNow admin and, unfortunately, our admin is not much help as the system was set up by consultants who are no longer contracted to us, so I'm kind of on my own.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to successfully set up a connection to our dev instance and I can use the connector to query tables, but I'm having a terrible time getting all the information I need.&amp;nbsp; Hopefully someone can point me in the right direction.&amp;nbsp; Here are the steps that I need to perform.&amp;nbsp; So far, I've only been able to complete the first one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Get a list of open catalog tasks with a specific description, assigned to a specific group but not assigned to anyone.&lt;/LI&gt;&lt;LI&gt;Iterate through the list of tasks.&amp;nbsp; For each task, Power Automate needs to:&lt;/LI&gt;&lt;LI&gt;Assign the task to itself.&lt;/LI&gt;&lt;LI&gt;Get the details (variables) of the task.&amp;nbsp; I've looked in the task, RITM and Request tables, but can't find them.&lt;/LI&gt;&lt;LI&gt;Pass those variables to the Power Automate Desktop flow to do the work.&lt;/LI&gt;&lt;LI&gt;Update the task as needed.&lt;/LI&gt;&lt;LI&gt;Close out the task and request.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If someone could please help me understand how the tables are related to each other, as I will need to update them directly.&amp;nbsp; Again, these are for requests, not incidents (almost every example out there is for incidents).&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 19:16:00 GMT</pubDate>
    <dc:creator>CheeryFrog143</dc:creator>
    <dc:date>2023-07-12T19:16:00Z</dc:date>
    <item>
      <title>Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2612027#M1015762</link>
      <description>&lt;P&gt;I have been tasked with creating an automation using Power Automate to perform actions when certain requests are made in ServiceNow.&amp;nbsp; I'm not a ServiceNow admin and, unfortunately, our admin is not much help as the system was set up by consultants who are no longer contracted to us, so I'm kind of on my own.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to successfully set up a connection to our dev instance and I can use the connector to query tables, but I'm having a terrible time getting all the information I need.&amp;nbsp; Hopefully someone can point me in the right direction.&amp;nbsp; Here are the steps that I need to perform.&amp;nbsp; So far, I've only been able to complete the first one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Get a list of open catalog tasks with a specific description, assigned to a specific group but not assigned to anyone.&lt;/LI&gt;&lt;LI&gt;Iterate through the list of tasks.&amp;nbsp; For each task, Power Automate needs to:&lt;/LI&gt;&lt;LI&gt;Assign the task to itself.&lt;/LI&gt;&lt;LI&gt;Get the details (variables) of the task.&amp;nbsp; I've looked in the task, RITM and Request tables, but can't find them.&lt;/LI&gt;&lt;LI&gt;Pass those variables to the Power Automate Desktop flow to do the work.&lt;/LI&gt;&lt;LI&gt;Update the task as needed.&lt;/LI&gt;&lt;LI&gt;Close out the task and request.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If someone could please help me understand how the tables are related to each other, as I will need to update them directly.&amp;nbsp; Again, these are for requests, not incidents (almost every example out there is for incidents).&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 19:16:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2612027#M1015762</guid>
      <dc:creator>CheeryFrog143</dc:creator>
      <dc:date>2023-07-12T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2818259#M1081120</link>
      <description>&lt;P&gt;&lt;BR /&gt;Here are the steps you can follow to achieve your requirements:&lt;/P&gt;&lt;P&gt;1. **Get a list of open catalog tasks with a specific description, assigned to a specific group but not assigned to anyone.**&lt;BR /&gt;- Use the ServiceNow Table API to query the 'sc_task' table.&lt;BR /&gt;- The API endpoint would be something like: https://.service-now.com/api/now/table/sc_task?sysparm_query=assignment_group=^state=1^assigned_toISEMPTY^descriptionLIKE&lt;BR /&gt;- This will return a list of open catalog tasks with the specific description, assigned to the specific group but not assigned to anyone.&lt;/P&gt;&lt;P&gt;2. **Iterate through the list of tasks.**&lt;BR /&gt;- You can use Power Automate's 'Apply to each' action to iterate through the list of tasks returned by the above API.&lt;/P&gt;&lt;P&gt;3. **Assign the task to itself.**&lt;BR /&gt;- You can use the ServiceNow Table API to update the 'assigned_to' field of the 'sc_task' table.&lt;BR /&gt;- The API endpoint would be something like: https://.service-now.com/api/now/table/sc_task/&lt;BR /&gt;- In the request body, you can set the 'assigned_to' field to the sys_id of the user you want to assign the task to.&lt;/P&gt;&lt;P&gt;4. **Get the details (variables) of the task.**&lt;BR /&gt;- The variables of a task are stored in the 'sc_item_option_mtom' table.&lt;BR /&gt;- You can use the ServiceNow Table API to query this table with the 'request_item' field set to the sys_id of the task.&lt;BR /&gt;- The API endpoint would be something like: https://.service-now.com/api/now/table/sc_item_option_mtom?sysparm_query=request_item=&lt;/P&gt;&lt;P&gt;5. **Pass those variables to the Power Automate Desktop flow to do the work.**&lt;BR /&gt;- You can use Power Automate's 'Run a flow' action to run the Power Automate Desktop flow and pass the variables as inputs.&lt;/P&gt;&lt;P&gt;6. **Update the task as needed.**&lt;BR /&gt;- You can use the ServiceNow Table API to update the task as needed.&lt;/P&gt;&lt;P&gt;7. **Close out the task and request.**&lt;BR /&gt;- You can use the ServiceNow Table API to update the 'state' field of the 'sc_task' and 'sc_request' tables to close out the task and request.&lt;/P&gt;&lt;P&gt;In terms of how the tables are related, the 'sc_task' table is related to the 'sc_request' table through the 'request' field, and to the 'sc_item_option_mtom' table through the 'request_item' field. The 'sc_request' table is related to the 'sc_item_option_mtom' table through the 'request' field.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;nowKB.com&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 09:44:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2818259#M1081120</guid>
      <dc:creator>Swarup Patra</dc:creator>
      <dc:date>2024-02-07T09:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2824560#M1083040</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I have a follow up question.&amp;nbsp; I have been able to perform the steps you outlined to &lt;STRONG&gt;read&lt;/STRONG&gt; service now tables, but I am unable to &lt;STRONG&gt;write&lt;/STRONG&gt; anything to them.&amp;nbsp; My understanding is that is some sort of internal ACL issue.&amp;nbsp; Might you have any advice or guidance on how to troubleshoot this?&amp;nbsp; Our SNOW admin is completely unfamiliar with ACL rules and is hesitant to make any changes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "statusCode": 403,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "headers"…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "body": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"error": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "message": "Operation Failed",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "detail": "&lt;STRONG&gt;ACL Exception Update Failed due to security constraints&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "status": "failure"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 21:53:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2824560#M1083040</guid>
      <dc:creator>CheeryFrog143</dc:creator>
      <dc:date>2024-02-12T21:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2824602#M1083053</link>
      <description>&lt;P&gt;Can you check the roles assigned to user? which is used for getting sc_task table API data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing purpose assign catalog_admin / admin role to this user and then check your query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 23:17:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2824602#M1083053</guid>
      <dc:creator>Abhijit</dc:creator>
      <dc:date>2024-02-12T23:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2825745#M1083391</link>
      <description>&lt;P&gt;I will check with our admin, but I should mention that the account is able to update and close tasks via the GUI, just not through the API.&amp;nbsp; Are there ACL rules that only pertain to API access?&lt;BR /&gt;&lt;BR /&gt;Also, note that this is being done in Microsoft Power Automate using their Service Now connector.&amp;nbsp; Again, we're able to access tables read-only without issue, just not update them.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:38:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/2825745#M1083391</guid>
      <dc:creator>CheeryFrog143</dc:creator>
      <dc:date>2024-02-13T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/3461597#M1242815</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/577321"&gt;@CheeryFrog143&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am facing same error. I don't want to give admin access to pw user.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 15:39:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/3461597#M1242815</guid>
      <dc:creator>KhushbooR</dc:creator>
      <dc:date>2026-01-06T15:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfilling Requests Through Power Automate ServiceNow Connector</title>
      <link>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/3461646#M1242823</link>
      <description>&lt;P&gt;It sounds like you potentially have UI policies that are overriding dictionary/acl level write permissions. To resolve the API issue you will need to make sure the account using the API has acl write permissions if you aren't able to assign the account a role that gives them access.&lt;BR /&gt;&lt;BR /&gt;This will require manual review of the write operation rules for each table/field it needs to update. You can do this by navigating to System Security &amp;gt; Access Control (ACL) and then using a name contains filter for the table (Name contains sc_task). This will filter the ACL list so that rules applying to that table are at the top. Any rule with starting with the table name is controlling access to the table (sc_task would be table level, sc_tash.* would be record level, sc_task.&amp;lt;field_name&amp;gt; is field level).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For the API to allow updating of a field the account must have access at the most granular level applied for the table. So if there is a field write ACL for the field it needs to update then it must have write permissions at the table, record, and that specific field level or any update request will be rejected. You will need to review ACLs and add the user as necessary for every table and potentially field you want to update via the API from Power Automate.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 16:28:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/fulfilling-requests-through-power-automate-servicenow-connector/m-p/3461646#M1242823</guid>
      <dc:creator>John Gilmore</dc:creator>
      <dc:date>2026-01-06T16:28:17Z</dc:date>
    </item>
  </channel>
</rss>

