CA Service Management

 View Only
  • 1.  Classic workflow status

    Broadcom Employee
    Posted Oct 28, 2014 07:07 AM

    Hi,

     

    when a workflow task status is set to "Hold", it seems that it is not possible to return to the status "pending".

    Anybody know how to change this?


    BR

    Peter



  • 2.  Re: Classic workflow status
    Best Answer

    Posted Oct 30, 2014 04:26 PM

    You can use other status like Resumed, and display it only when task is in Hold status. For example:

     

    <PDM_IF "$prop.form_name_3" == "edit">
    <PDM_MACRO NAME=dtlStartRow>
    <PDM_MACRO NAME=dtlLookupReadonly hdr="Change#" attr=chg>
    <PDM_MACRO NAME=dtlReadonly hdr=Sequence attr="sequence">
    detailRowHdr("Status", 1 , "$args.REQUIRED_status");
    var item = '<PDM_SELECT NAME=SET.status ESC_STYLE=HTML FACTORY=tskstat WF_FAC_FOR_TSKSTAT=wf SELECTED="$args.status" SELECTED_SYM="$args.status.COMMON_NAME">';

    <PDM_IF "$args.task.code" != "HOLD">

    item = item.replace('<OPTION VALUE="RESUMED">','');

    </PDM_IF>