force startprocesslink always open in a new tab?

Is there a way to force startprocesslink to open in a new tab? To my knowledge, if you control+click it opens in a new tab, but left click by itself opens in the same tab.

If not, what are all the ways Appian can be configured to open a new tab?

The ones I know about are:

  1. startProcessLink
  2. recordActionField
  3. processTaskLink

My scenario is that a user is on an interface in a process model, and there are a set of cards configured with submitlink. When the user clicks the card, a subprocess is initiated depending on the link selected, which contains another interface. The user would like clicking on the card to always open a new tab. startProcessLink seems like the best option (initiate the sub process), but to my knowledge opening in a new tab requires control + click.  

I could also use recordActionField by setting up a dummy record and actions connected to each sub process, but this seems like an odd use of a record.

Any suggestions would be greatly appreciated.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hey,

    Using this method allows you to open the interface in a new tab. In the link field, you need to provide the opaque ID and cache key, which can be obtained from the `startprocesslink` function.

    However, It is advisable to avoid the following approach as the parameters may changes in different scenarios.

    a!localVariables(
    local!startProcessLink: a!startProcessLink(
    processModel: Process Model Constant,
    processParameters: Parameters for the Process Model
    ),
    a!linkField(
    links: a!safeLink(
    label: "Open Form",
    uri: "[site url]/suite/tempo/start-process/" & local!startProcessLink.processModelOpaqueId & "?parameters=" & local!startProcessLink.cacheKey,
    openLinkIn:"NEW_TAB"
    )
    )
    )

Reply
  • 0
    Certified Associate Developer

    Hey,

    Using this method allows you to open the interface in a new tab. In the link field, you need to provide the opaque ID and cache key, which can be obtained from the `startprocesslink` function.

    However, It is advisable to avoid the following approach as the parameters may changes in different scenarios.

    a!localVariables(
    local!startProcessLink: a!startProcessLink(
    processModel: Process Model Constant,
    processParameters: Parameters for the Process Model
    ),
    a!linkField(
    links: a!safeLink(
    label: "Open Form",
    uri: "[site url]/suite/tempo/start-process/" & local!startProcessLink.processModelOpaqueId & "?parameters=" & local!startProcessLink.cacheKey,
    openLinkIn:"NEW_TAB"
    )
    )
    )

Children
No Data