Notifications

18 views

Description

AWS Master Account can only discover the first 30-40 Child Accounts due to Pagination only working on the first page.

The second page pattern sends a token for it to be invoked but token is incorrect.

 

The issue occurs in OOTB Pattern step "If pagination, get the rest of the batches" which generates error as below sample: 
================================================================================================== 
2019-05-27 10:51:53: Subaccounts list REST request failed. error=Cloud request failed. URL: https://organizations.us-east-1.amazonaws.com/ Status: 400 Server response: Response: HTTP/1.1 400 Bad Request [x-amzn-RequestId: 9e563c22-8019-11e9-9896-b9e126ea352d, Content-Type: application/x-amz-json-1.1, Content-Length: 35, Date: Mon, 27 May 2019 00:51:53 GMT, Connection: close] 
================================================================================================== 

Steps to Reproduce

Steps to Reproduce:
- Run "Refresh Member Accounts" from Master account
- Note that only 30-40 child accounts are updated

Workaround

The fix would be available on Madrid Patch 3 and London Patch 8. Attached Pattern xml can also be used as workaround.

The workaround Pattern provides fix code with "token" in this step, see following code change comparison:

 


Related Problem: PRB1329202

Seen In

There is no data to report.

Intended Fix Version

New York

Fixed In

London Patch 8
Madrid Patch 3

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-06-20 08:25:22
Published:2019-06-19
sa_pattern_ff9b1a44672703008ec4a4db2685ef68.xml