Hi In my smart service, I need configuration parameters for creating

Hi

In my smart service, I need configuration parameters for creating a Group and suppose if the group has a parent group, then i need to capture the configuration parameters for parent hierarchy also.
Assume I create a Group called A which is child of X and if X is child of Y, then I need configuration information for groups A, X, Y.

In my smart service i have to create a set of Groups in single run.
So I created a CDT called AppianGroupConfig as below:
<xsd:complexType name="AppianGroupConfig">
<xsd:sequence>
<xsd:element name="appianApplicationName" nillable="false" type="xsd:string"/>
<xsd:element name="appianGroupName" nillable="false" type="xsd:string"/>
           <xsd:element name="appianParentGroupName" nillable="true" type="xsd:string"/>
           <xsd:element name="appianCustomGroupType" nillable="true" type="xsd:string"/>
           <xsd:element name="appianGroupSecurityType" nillable="true" type="xsd:string"/>
           <xsd:element name="appianGroupMembe...

OriginalPostID-137182

OriginalPostID-137182

  Discussion posts and replies are publicly visible

  • ...rPolicyType" nillable="true" type="xsd:string"/>
               <xsd:element name="appianGroupPrivacyPolicyType" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>


    Then I created another CDT to hold parent hierarchy configuration as below:
    <xsd:complexType name="AppianGroupParentGrpHierarchy">
    <xsd:sequence>
               <xsd:element name="appianGroupName" nillable="false" type="xsd:string"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0"
    name="parentGroupHierarchy" type="types1:AppianGroupConfig"/>
    </xsd:sequence>
    </xsd:complexType>

    In my smart service, I defined AppianGroupConfig[] and AppianGroupParentGrpHierarchy[] as input parameters ( both allow multiple values).
    The smart service got deployed sucessfully, and when i am using it in process - by configuring the input parameters - I got an error - "Nested Multiples are not supported" for the xsd element: parentGroupHierarchy

    So I added one more CDT to wrap th...
  • ...e AppianGroupParentGrpHierarchy[] into a CDT as below:
    <xsd:complexType name="AppianGroupParentGrpHierarchyArray">
    <xsd:sequence>
               <xsd:element name="appianGroupName" nillable="false" type="xsd:string"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0"
    name="parentGroupHierarchyArray" type="types1:AppianGroupParentGrpHierarchy"/>
    </xsd:sequence>
    </xsd:complexType>

    Now I defined my smart service input parameters as AppianGroupConfig[] ( holding multiple value) and AppianGroupParentGrpHierarchyArray ( holding single value)
    Still I got the same error while setting Data (Input parameters) for the plugin when using he plugin in process.
    Is there a way that Appian supports 2D array as input parameter or array inside an array.

    Please help.

    Thanks
    Jhothi