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

Specify the External Access Definition on Service Manager

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 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

    qcintegration.id

    QCEntityID

    IntType

    id

    ProblemID

    StringType

    sysmodtime

    Modified

    DateTimeType

    qcintegration.project QCProject StringType
    incident.category Category StringType
    subcategory SubCategory StringType
    product.type ProductType StringType
    problem.type ProblemType StringType
    initial.impact Impact StringType
    severity Severity StringType
    description Description StringType
    assignment AssignmentGroup StringType
    ticket.owner Problem.Owner StringType
    category WorkFlowType StringType

    root.cause

    RootCause

    array of string

    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

    1. 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.
    2. Expressions 1 to 4 are for fixing an update issue with the Problem Management web service. For more information, see SCR 41399.

    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