Integrate > Micro Focus ALM > SM Problem <-> QC/ALM Defect > Customizing Service Manager for Problem Management > Specify the External Access Definition on Service Manager

Specify the External Access Definition on Service Manager

Follow these steps to specify the External Access Definition on Service Manager:

  1. Create a custom External Access Definition QCIntProblemService by clicking Tailoring > Web Services > Web Service Configuration on Service Manager 9.2x or later with the following values:

    • Service Name: QCIntProblemService
    • Name: rootcause
    • Object Name: QCIntProblem
    • Allowed Actions / Action Names:

      • add / Create
      • save / Update

    Note The above values are required (Do NOT change them).

  2. Enable the required fields in the web service.

    Field

    Caption

    Type

    id

    ProblemID

    StringType

    sysmodtime

    Modified

    DateTimeType

    qcintegration.id

    QCEntityID

    IntType

    affected.item..sm.device.display.name

    ServiceName

     

    logical.name..sm.device.display.name

    AffectedCIName

     

    Note The caption value must be unique and alphanumerics (no spaces) with the first letter capitalized (AValidCaption123, AnotherValidCaption, and so on). The above values are required (Do NOT change them).

  3. Define expressions for the web service.

    Note Problem Management requires an activity update provided with each save and for better flow, and this activity update will be hard-coded with the following expressions.

    No.

    Expression

    1

    cleanup($pm.activity);cleanup($rc.update);if same(update in $L.file, update in $L.file.save) then ($L.need.to.update=true)

    2

    $rc.update=update in $L.file;if (denull($rc.update)={}) then ($rc.update={"QC update sent"})

    3

    if ($L.need.to.update=true) then ($rc.update={"QC update sent"})

    4

    update in $L.file=update in $L.file.save

    5 isKnownError in $L.file=nullsub(isKnownError in $L.file,true)