<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/discussions/f/general/34426/how-to-delete-rows-from-arrays-of-arrays-nested-cdts</link><description>Hello All, I have a requirement where we need to delete rows based on array&amp;#39;s of arrays(nested arrays) when i tried to implement the logic and try to delete the rows i&amp;#39;m getting the below error message as shown. 
 Can you please let me know what could</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/132126?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 14:09:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a8f5e72-2662-424d-a9ac-530869b648ad</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In that foreach you iterate on&amp;nbsp;thirdPartyOrgDetails. Then, inside that foreach where fv!item is such a&amp;nbsp;thirdPartyOrgDetail, you try to delete something. That is exactly what the error message tries to explain.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1711721320171v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/132121?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 13:57:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36b55f19-bbc4-4364-a1b7-20d3d86a1383</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Replace the document image with one paragrapph field, in order to check the values contained in the second for each...&lt;/p&gt;
&lt;p&gt;Maybe the problem is related with the&amp;nbsp;nested for each... Sometimes with nested for eachs,&amp;nbsp;appian&amp;nbsp;does not work as we&amp;nbsp;expect&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/132119?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 13:44:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a328ffd0-6410-477d-87f2-ca5d72d2e553</guid><dc:creator>sivakrishnam0002</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!forEach(
ri!sponsorDetails,
{
a!localVariables(

a!sectionLayout(
label: &amp;quot;Sponsor &amp;quot; &amp;amp; fv!index,
contents: {
a!imageField(
images: a!documentImage(
document: a!iconIndicator(&amp;quot;REMOVE&amp;quot;),
altText: &amp;quot;Remove Sponsor&amp;quot;,
caption: &amp;quot;Remove Sponsor &amp;quot; &amp;amp; fv!item.sponsorName,
link: a!dynamicLink(
value: fv!index,
saveInto: {
if(
isnull(fv!item.id),
{},
a!save(
ri!deletedSponsorIds,
append(ri!deletedSponsorIds, fv!item.id)
)
),
a!save(
ri!sponsorDetails,
remove(ri!sponsorDetails, save!value)
),
if(
or(
a!isNullOrEmpty(ri!numberOfSponsorLegal),
ri!numberOfSponsorLegal = 0
),
{},
a!save(
ri!numberOfSponsorLegal,
ri!numberOfSponsorLegal - 1
)
)
}
),
showWhen: not(
ri!submissionType = cons!CTRIS_SUBMISSION_TYPES[4]
)
),
showWhen: not(ri!isReadOnly),
size: &amp;quot;ICON&amp;quot;,
align: &amp;quot;END&amp;quot;
),
{
{
a!localVariables(
local!selectedTab: 1,
{
{
choose(
local!selectedTab,
{
a!boxLayout(
label: &amp;quot;Add Third Party&amp;quot;,
contents: {
a!cardLayout(
contents: {
a!sideBySideLayout(
items: {
a!sideBySideItem(
item: a!richTextDisplayField(
labelPosition: &amp;quot;COLLAPSED&amp;quot;,
value: {
a!richTextIcon(icon: &amp;quot;info-circle&amp;quot;, color: &amp;quot;#3d85c6&amp;quot;)
}
),
width: &amp;quot;MINIMIZE&amp;quot;
),
a!sideBySideItem(
/* Replace this rich text with your warning message */
item: a!richTextDisplayField(
labelPosition: &amp;quot;COLLAPSED&amp;quot;,
value: {
a!richTextItem(text: { &amp;quot;Note 1:&amp;quot; }, style: &amp;quot;STRONG&amp;quot;),
&amp;quot; &amp;quot;,
&amp;quot;For all studies, Add Third party details manually.&amp;quot;,
&amp;quot; &amp;quot;
}
)
)
},
alignVertical: &amp;quot;MIDDLE&amp;quot;,
spacing: &amp;quot;STANDARD&amp;quot;
),
a!sideBySideLayout(
items: {
a!sideBySideItem(
item: a!richTextDisplayField(
labelPosition: &amp;quot;COLLAPSED&amp;quot;,
value: {
a!richTextIcon(icon: &amp;quot;info-circle&amp;quot;, color: &amp;quot;#3d85c6&amp;quot;)
}
),
width: &amp;quot;MINIMIZE&amp;quot;
),
a!sideBySideItem(
/* Replace this rich text with your warning message */
item: a!richTextDisplayField(
labelPosition: &amp;quot;COLLAPSED&amp;quot;,
value: {
a!richTextItem(text: { &amp;quot;Note 2:&amp;quot; }, style: &amp;quot;STRONG&amp;quot;),
&amp;quot; &amp;quot;,
&amp;quot;Firstly, Third party needs to be registered in OMS. So, please make sure this third party details should match with Organisation Management System (OMS)&amp;quot;,
&amp;quot; &amp;quot;
}
)
)
},
alignVertical: &amp;quot;MIDDLE&amp;quot;,
spacing: &amp;quot;STANDARD&amp;quot;
)
},
showWhen: not(ri!isReadOnly),
style: &amp;quot;WARN&amp;quot;,
marginBelow: &amp;quot;STANDARD&amp;quot;,
accessibilityText: &amp;quot;Warning message&amp;quot;
),
a!buttonArrayLayout(
buttons: {
a!buttonWidget_23r3(
label: &amp;quot;Add Third-Party Org Manually&amp;quot;,
saveInto: {
a!save(
fv!item.thirdPartyOrgDetails,
append(
fv!item.thirdPartyOrgDetails,
{
&amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_Part1_Sponsor_ThirdPartyOrg&amp;#39;(
orgId: &amp;quot;&amp;quot;,
orgName: &amp;quot;&amp;quot;,
/*organizationType: fv!item.organization_type,*/
tpAddress: &amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_AddressDetails&amp;#39;(
ctrisId: ri!ctrisId,
context: &amp;quot;Third Party Organisations associated with the trial&amp;quot;,
addressLine1: &amp;quot;&amp;quot;,
city: &amp;quot;&amp;quot;,
postalCode: &amp;quot;&amp;quot;,
country: &amp;quot;&amp;quot;,
phone: &amp;quot;&amp;quot;,
email: &amp;quot;&amp;quot;,
updatedBy: loggedInUser(),
updatedOn: now()
),
ctrisId: ri!ctrisId,
updatedBy: loggedInUser(),
updatedOn: now()
)
}
)
)
}
)
},
align: &amp;quot;START&amp;quot;
)
},
showWhen: not(ri!isReadOnly),
style: &amp;quot;STANDARD&amp;quot;,
isCollapsible: true,
padding: &amp;quot;NONE&amp;quot;,
marginBelow: &amp;quot;STANDARD&amp;quot;
),
a!forEach(
fv!item.thirdPartyOrgDetails,
a!sectionLayout(
label: &amp;quot; Third Party Organisation &amp;quot; &amp;amp; fv!index,
labelSize: &amp;quot;SMALL&amp;quot;,
labelColor: &amp;quot;STANDARD&amp;quot;,
contents: {
a!imageField(
images: a!documentImage(
document: a!iconIndicator(&amp;quot;REMOVE&amp;quot;),
altText: &amp;quot;Third Party Organisation&amp;quot;,
caption: &amp;quot;Third Party Organisation &amp;quot; &amp;amp; fv!index,
link: a!dynamicLink(
value: fv!index,
saveInto: {
a!save(
fv!item.thirdPartyOrgDetails,
remove(fv!item.thirdPartyOrgDetails, save!value)
)
}
),
showWhen: not(
ri!submissionType = cons!CTRIS_SUBMISSION_TYPES[4]
)
),
showWhen: not(ri!isReadOnly),
size: &amp;quot;ICON&amp;quot;,
align: &amp;quot;END&amp;quot;
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Organisation ID&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: fv!item.orgId,
saveInto: {
a!save(fv!item.orgId, left(save!value, 100)),
a!save(fv!item.updatedBy, loggedInUser())
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
readOnly: ri!isReadOnly,
validations: {},
characterLimit: 100,
showCharacterCount: true(),
height: &amp;quot;SHORT&amp;quot;,
)
}
),
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Name of organisation&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
height: &amp;quot;SHORT&amp;quot;,
value: fv!item.orgName,
saveInto: {
a!save(fv!item.orgName, left(save!value, 150)),
a!save(fv!item.updatedBy, loggedInUser())
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 150,
readOnly: ri!isReadOnly,
showCharacterCount: true,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!localVariables(
local!thirdPartyDuties: if(
or(
a!isNullOrEmpty(fv!item),
a!isNullOrEmpty(fv!item.duties)
),
{},
split(fv!item.duties, &amp;quot;,&amp;quot;)
),
if(
ri!isReadOnly = true(),
rule!CTRIS_commonDropDownComponent(
readOnly: ri!isReadOnly,
fieldName: &amp;quot;Duties&amp;quot;,
selectedDataMultiple: fv!item.duties,
isMultiSelect: true(),
labelPosition: &amp;quot;ABOVE&amp;quot;,
isRequired: true(),
choiceLabels: cons!CTRIS_SPONSOR_TRIAL_DUTIES,
choiceValues: cons!CTRIS_SPONSOR_TRIAL_DUTIES
),
{
a!multipleDropdownField(
label: &amp;quot;Duties&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
placeholder: &amp;quot;--- Select ---&amp;quot;,
choiceLabels: cons!CTRIS_SPONSOR_TRIAL_DUTIES,
choiceValues: cons!CTRIS_SPONSOR_TRIAL_DUTIES,
value: { local!thirdPartyDuties },
saveInto: {
local!thirdPartyDuties,
a!save(
fv!item.duties,
joinarray(local!thirdPartyDuties, &amp;quot;,&amp;quot;)
),
a!save(fv!item.updatedBy, loggedInUser()),
a!save(fv!item.otherDescription, null)
},
searchDisplay: &amp;quot;AUTO&amp;quot;,
required: true(),
disabled: ri!isReadOnly,
validations: {}
),
a!paragraphField(
label: &amp;quot;Other Duties description&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: fv!item.otherDescription,
saveInto: fv!item.otherDescription,
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 4000,
showCharacterCount: true(),
height: &amp;quot;SHORT&amp;quot;,
readOnly: ri!isReadOnly,
validationGroup: &amp;quot;character limit&amp;quot;,
showWhen: local!thirdPartyDuties=&amp;quot;Other&amp;quot;,
required: local!thirdPartyDuties=&amp;quot;Other&amp;quot;,
validations: {}
)
}
)
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Address: Street name&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: fv!item.tpAddress.addressLine1,
saveInto: {
a!save(
fv!item.tpAddress.addressLine1,
left(save!value, 75)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 75,
readOnly: ri!isReadOnly,
validations: {},
height: &amp;quot;SHORT&amp;quot;
)
}
),
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Town/City&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
height: &amp;quot;SHORT&amp;quot;,
value: fv!item.tpAddress.city,
saveInto: {
a!save(
fv!item.tpAddress.city,
left(save!value, 75)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 75,
readOnly: ri!isReadOnly,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Post Code&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: fv!item.tpAddress.postalCode,
saveInto: {
a!save(
fv!item.tpAddress.postalCode,
left(save!value, 75)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 75,
readOnly: ri!isReadOnly,
validations: {},
height: &amp;quot;SHORT&amp;quot;
)
}
),
a!columnLayout(
contents: {
a!paragraphField(
label: &amp;quot;Country&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
height: &amp;quot;SHORT&amp;quot;,
value: fv!item.tpAddress.country,
saveInto: {
a!save(
fv!item.tpAddress.country,
left(save!value, 128)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 128,
readOnly: ri!isReadOnly,
validations: {}
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!textField(
label: &amp;quot;Telephone number&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: stripwith(
fv!item.tpAddress.phone,
&amp;quot;`~!@#$%^&amp;amp;*()_-={[}}\|;:&amp;#39;&amp;lt;&amp;gt;,.?/qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM&amp;quot;
),
saveInto: {
a!save(
fv!item.tpAddress.phone,
stripwith(
left(save!value, 15),
&amp;quot;`~!@#$%^&amp;amp;*()_-={[}}\|;:&amp;#39;&amp;lt;&amp;gt;,.?/qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM&amp;quot;
)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 15,
readOnly: ri!isReadOnly,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!textField(
label: &amp;quot;Email address&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
value: fv!item.tpAddress.email,
saveInto: {
a!save(
fv!item.tpAddress.email,
left(save!value, 100)
),
a!save(
fv!item.tpAddress.updatedBy,
loggedInUser()
),
a!save(
fv!item.tpAddress.context,
&amp;quot;Third Party Organisations associated with the trial&amp;quot;
)
},
refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
characterLimit: 100,
readOnly: ri!isReadOnly,
validations: {}
)
}
)
}
)
}
)
)
}
)
}
}
)
}
}
},
isCollapsible: true,
divider: &amp;quot;BELOW&amp;quot;,
dividerColor: &amp;quot;STANDARD&amp;quot;
)
)
}
),&lt;/pre&gt;&lt;br /&gt;&lt;img style="max-height:74px;max-width:343px;" alt=" " height="74" src="/resized-image/__size/686x148/__key/communityserver-discussions-components-files/11/pastedimage1711719711518v1.png" width="343" /&gt;&lt;br /&gt;&lt;br /&gt;Hi&amp;nbsp;&amp;nbsp; Please find the attached code snippet you have requested. Let me know if you have any questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/131948?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 12:07:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4a324b0-7e93-4cd5-8749-1b4769e85896</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Could you post the for each part of your code please? Maybe you are iterating over the main array, but referencing the child one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/131947?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 11:50:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de653890-0bcd-4144-a1ab-1c2edf931e9a</guid><dc:creator>sivakrishnam0002</dc:creator><description>&lt;p&gt;Hi stefan any update on this below requirement would be grateful, Please let me know if you need any other inputs.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/131667?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 10:06:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0d98f91-8c14-4689-94c5-aef06dcad2e8</guid><dc:creator>sivakrishnam0002</dc:creator><description>&lt;p&gt;Please find the below screenshot for better understanding on how we are using arrays of arrays.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/1307.screenshot.png" /&gt;&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt; &amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_Part1_SponsorDetails&amp;#39;(&lt;br /&gt; &amp;#39;ctrisId&amp;#39;: 1473,&lt;br /&gt; &amp;#39;sponsorName&amp;#39;: &amp;quot;GSK R&amp;amp;D Ltd&amp;quot;,&lt;br /&gt; &amp;#39;organizationType&amp;#39;: &amp;quot;Commercial&amp;quot;, &lt;br /&gt; &amp;#39;thirdPartyOrgDetails&amp;#39;: {&lt;br /&gt; &lt;span style="background-color:#ffff00;"&gt;&amp;#39;&lt;span style="color:#ff0000;"&gt;type!{urn:com:appian:types:CTRIS}CTRIS_Part1_Sponsor_ThirdPartyOrg&amp;#39;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;ctrisId&amp;#39;: 1473,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;orgId&amp;#39;: &amp;quot;Test Organisation ID&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;orgName&amp;#39;: &amp;quot;Test Name of organisation&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;duties&amp;#39;: &amp;quot;Statistical Analysis,Q/A auditing&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;tpAddress&amp;#39;: &amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_AddressDetails&amp;#39;(&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;ctrisId&amp;#39;: 1473,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;context&amp;#39;: &amp;quot;Third Party Organisations associated with the trial&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;addressLine1&amp;#39;: &amp;quot;Address: Street name&amp;quot;, &lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;country&amp;#39;: &amp;quot;USA&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;phone&amp;#39;: &amp;quot;1234567&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;email&amp;#39;: &amp;quot;test@gsk.com&amp;quot; &lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; ), &lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_Part1_Sponsor_ThirdPartyOrg&amp;#39;(&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;ctrisId&amp;#39;: 1473,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;orgId&amp;#39;: &amp;quot;Test Organisation ID 2&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;orgName&amp;#39;: &amp;quot;Test Name of organisation 2&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;duties&amp;#39;: &amp;quot;Safety reporting,E-Data capture&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;tpAddress&amp;#39;: &amp;#39;type!{urn:com:appian:types:CTRIS}CTRIS_AddressDetails&amp;#39;(&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;ctrisId&amp;#39;: 1473,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;context&amp;#39;: &amp;quot;Third Party Organisations associated with the trial&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;addressLine1&amp;#39;: &amp;quot;Address: Street name 2&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;city&amp;#39;: &amp;quot;Town/City 2&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;postalCode&amp;#39;: &amp;quot;12345&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;country&amp;#39;: &amp;quot;India&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; &amp;#39;phone&amp;#39;: &amp;quot;12345&amp;quot; &lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#ff0000;"&gt; ) &lt;/span&gt;&lt;br /&gt; )&lt;br /&gt; }, &lt;br /&gt; &amp;#39;orgSPORId&amp;#39;: &amp;quot;ORG-100005535&amp;quot;&lt;br /&gt; )&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Based on the above code snippet, I need to delete the above highlighted rows.&lt;/p&gt;
&lt;p&gt;currently I&amp;#39;m using the below code to delete which is erroring out. Could you please provide me the proper code to achieve this requirement.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1711101835185v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to delete rows from arrays of arrays (Nested CDTs)?</title><link>https://community.appian.com/thread/131599?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 11:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3d10e98-83e5-4b8e-9f5c-6a310980b70a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The error message tries to tell you that CTRIS_Part1_Sponsor_ThirdPartyOrg does not have a field called thirdPartyOrgDetails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>