Monday, 4 June 2012

Create workflow in Configuration wizard in Websphere portal server8.0

When u click export, a zip file named “workflows.zip” is created and it contains Start WebSphere Portal server.xml and then we customize that xml and import the file.
<step class="com.ibm.wps.workflow.steps.ConfigTaskStepDefinition" create="1337419992796" name="Custom Enable LightMode WebSphere Portal server (non-z/OS)" scriptname="CustomEnableLightMode" type="configtask" usedefaultosextension="true">
          <desc>$res{wfapi-repository:StopPortalServer.10.desc}</desc>
          <help><![CDATA[$res{wfapi-repository:StopPortalServer.10.help}

]]></help>
          <viewers>
            <viewer name="EDITOR">
              <property name="orderedConditionList">
                <value><![CDATA[Non-z/OS platform]]></value>
              </property>
              <property name="panelType">
                <value><![CDATA[com.ibm.wplc.config.wizard.panels.execute.CommandPanel]]></value>
              </property>
            </viewer>
          </viewers>
          <conditions>
            <condition class="com.ibm.wps.workflow.conditions.GeneralCondition" id="Non-z/OS platform" type="general">
              <value>Linux System z,Microsoft Windows,Solaris,Linux,IBM i,AIX</value>
            </condition>
          </conditions>
                                   <parms>
            <parm name="WasUserid"/>
            <parm name="WasPassword"/>
          </parms>
          <command>$env{PROFILE_HOME}$dirsep{}ConfigEngine$dirsep{}ConfigEngine</command>
          <ext>.bat</ext>
          <options>
            <option/>
                                                 <option>-DWasUserid=${WasUserid} -DWasPassword=${WasPassword}</option>
          </options>
          <configtasks>
            <configtask>enable-portal-light-startup-performance</configtask>
          </configtasks>
        </step>
      </steps>
    </workflow>
  </workflows>
</repository>



Download the file


No comments:

Post a Comment