Clarity

 View Only
  • 1.  Convert Clarity Idea into Incident

    Posted Jun 18, 2014 04:50 PM


    Clarity Idea out of the box let you convert it to a project.  Is there a way to convert idea to an incident?



  • 2.  Re: Convert Clarity Idea into Incident

    Posted Jun 18, 2014 05:21 PM

    Or how to create an incident via a process



  • 3.  Re: Convert Clarity Idea into Incident

     
    Posted Jun 23, 2014 02:40 PM

    Hi All,

     

    Any suggestions here for these questions?

     

    Thanks!

    Chris



  • 4.  Re: Convert Clarity Idea into Incident
    Best Answer

    Broadcom Employee
    Posted Jun 23, 2014 03:33 PM

    Hi,

     

    Yes there is a way to convert and idea to an incident.

     

    First, you have to create a mapping/mapping code between the two objects using xog.  I have included a sample xog file that you can use as an example below.

     

    Once you have created the mapping, you can create a process and use the System Action called Convert Object to convert your object based on the mapping youcreated.  Just click on the binoculars to the right of the Mapping Code field to select the one you created via xog.

     

    Once your process is completed/validated/active, you can run your process against any Idea that you want to convert to an Incident to complete the conversion.

     

    Sincerely yours,

     

    Jeanne Gaskill

    Senior Support Engineer - Clarity

     

    ============================================================

     

     

    <?xml version="1.0" encoding="UTF-8"?>

     

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xog/src/webroot/WEB-INF/xog/xsd/nikuxog_objectMapping.xsd">

     

    <Header action="write" externalSource="NIKU" objectType="objectMapping" version="8.0"/>

     

    <objectMappings>

     

    <objectMapping mappingCode="aMap" srcObjectCode="idea" destObjectCode="project">

     

    <nls description="Map From Idea to Project" languageCode="de" name="aMap"/>

     

    <nls description="Map From Idea to Project" languageCode="en" name="aMap"/>

     

    <nls description="Map From Idea to Project" languageCode="es" name="aMap"/>

     

    <nls description="Map From Idea to Project" languageCode="fr" name="aMap"/>

     

    <nls description="Map From Idea to Project" languageCode="ja" name="aMap"/>

     

    <nls description="Map From Idea to Project" languageCode="nl" name="aMap"/>

     

    <attributeMappings>

     

    <attributeMapping srcAttributeCode="name" destAttributeCode="name"/>

     

    <attributeMapping srcAttributeCode="currency_code" destAttributeCode="currency_code"/>

     

    <attributeMapping srcAttributeCode="schedule_start" destAttributeCode="budget_cst_start"/>

     

    <attributeMapping srcAttributeCode="schedule_finish" destAttributeCode="budget_cst_finish"/>

     

    </attributeMappings>

     

    <objectMapping mappingCode="subMap" srcObjectCode="sub_idea" destObjectCode="sub_project" expression="sub_idea.is_cost == 1">

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="de" name="subMap"/>

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="en" name="subMap"/>

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="es" name="subMap"/>

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="fr" name="subMap"/>

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="ja" name="subMap"/>

     

    <nls description="Map From Sub Idea to Sub Project" languageCode="nl" name="subMap"/>

     

    <attributeMappings>

     

    <attributeMapping srcAttributeCode="code" destAttributeCode="code"/>

     

    <attributeMapping srcAttributeCode="name" destAttributeCode="name"/>

     

    <attributeMapping srcAttributeCode="is_multi_value" destAttributeCode="ps_multi_value"/>

     

    <attributeMapping srcAttributeCode="is_start_date" destAttributeCode="ps_start_date"/>

     

    <attributeMapping srcAttributeCode="is_finish_date" destAttributeCode="ps_finish_date"/>

     

    <attributeMapping srcAttributeCode="is_cost" destAttributeCode="ps_cost"/>

     

    <attributeMapping srcAttributeCode="is_single_attach" destAttributeCode="ps_single_attach"/>

     

    <attributeMapping srcAttributeCode="is_multi_attach" destAttributeCode="ps_multi_attach"/>

     

    </attributeMappings>

     

    <objectMapping mappingCode="subSubMap" srcObjectCode="sub_sub_idea" destObjectCode="sub_sub_project" expression="sub_sub_idea.iss_cost == 1">

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="de" name="subSubMap"/>

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="en" name="subSubMap"/>

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="es" name="subSubMap"/>

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="fr" name="subSubMap"/>

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="ja" name="subSubMap"/>

     

    <nls description="Map From Sub Sub Idea to Sub Sub Project" languageCode="nl" name="subSubMap"/>

     

    <attributeMappings>

     

    <attributeMapping srcAttributeCode="code" destAttributeCode="code"/>

     

    <attributeMapping srcAttributeCode="name" destAttributeCode="name"/>

     

    <attributeMapping srcAttributeCode="iss_start_date" destAttributeCode="pss_start_date"/>

     

    <attributeMapping srcAttributeCode="iss_finish_date" destAttributeCode="pss_finish_date"/>

     

    <attributeMapping srcAttributeCode="iss_cost" destAttributeCode="pss_cost"/>

     

    </attributeMappings>

     

    </objectMapping>

     

    </objectMapping>

     

    </objectMapping>

     

    <objectMapping mappingCode="copyHandler" srcObjectCode="idea" destObjectCode="project" className="com.ca.platform.samples.osf.test.object.copyengine.CopyProjectFromIdea">

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="de" name="copyHandler"/>

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="en" name="copyHandler"/>

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="es" name="copyHandler"/>

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="fr" name="copyHandler"/>

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="ja" name="copyHandler"/>

     

    <nls description="Map From Idea to Project Using a Handler" languageCode="nl" name="copyHandler"/>

     

    </objectMapping>

     

    </objectMappings>

     

    </NikuDataBus>



  • 5.  Re: Convert Clarity Idea into Incident

    Posted Jun 23, 2014 03:49 PM

    Thank You very much Jeanne.  I was thinking of a way more complex way of trying to accomplish it.