<?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>Hi  I wrote a plugin to create new group in Appian.  I used</title><link>https://community.appian.com/discussions/f/plug-ins/3442/hi-i-wrote-a-plugin-to-create-new-group-in-appian-i-used</link><description>Hi I wrote a plugin to create new group in Appian. I used the groupService.createGroup(Group g) to create a new group in Appian. My code snippet is: Group grp1 = new Group(Group.SECURITYMAP_PUBLIC,&amp;quot;myCustomGroup1&amp;quot;); Long groupId = grpService.createGroup</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I wrote a plugin to create new group in Appian.&lt;br /&gt;&lt;br /&gt;I used</title><link>https://community.appian.com/thread/12104?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2014 14:06:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88e890b9-05c2-45a9-8321-5815ddf583cb</guid><dc:creator>sivananthag</dc:creator><description>Thanks a lot eduardo. Code worked and now I am able to create custom group.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Jhothi&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I wrote a plugin to create new group in Appian.&lt;br /&gt;&lt;br /&gt;I used</title><link>https://community.appian.com/thread/12096?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2014 08:08:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adec3408-0c73-4ae0-8137-60031fea63a2</guid><dc:creator>Eduardo Fuentes</dc:creator><description>You need to set the group type to be of type Custom Group. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Group myNewGroup = new Group(GroupBase.SECURITYMAP_PUBLIC, &amp;quot;Group from API&amp;quot;);    &lt;br /&gt;    myNewGroup.setGroupTypeId(groupTypeService.getGroupTypeId(&amp;quot;Custom&amp;quot;));&lt;br /&gt;    gs.createGroup(myNewGroup);&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>