Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
5 subscribers
Views
1011 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi In my smart service, I need configuration parameters for creating
sivananthag
over 9 years ago
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
Parents
0
sivananthag
over 9 years ago
...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...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sivananthag
over 9 years ago
...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...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data