Set Ticket Info
Tag: SetTicketInfo
Ytria automation can add ticket information to your sapio365 activity logs.
Tag Attributes
Attributes | Attribute Values | Value Description |
---|---|---|
TicketNumber | N/A | Integer |
TicketDescription | N/A | String |
TicketURL | N/A | String |
Empty | Can only be TRUE - No Default | Sets no ticket information |
Clear | Can only be TRUE - No default | Removes any previously set ticket information |
KeepAlive | TRUE (Keeps dialog open) / FALSE - Defaults to FALSE | N/A |
Example Script
Store ticket info for current script/job:
<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket"/>
Store empty ticket info for current script/job:
<SetTicketInfo Empty="True"/>
Remove stored ticket info for current script/job:
<SetTicketInfo Clear="True"/>
If info already store, do nothing else show dialog:
<SetTicketInfo/>
Show dialog:
<SetTicketInfo KeepAlive="true"/>
Show prefilled dialog:
<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket" KeepAlive="true"/>
SetTicketInfo can also be used in a Save or SaveSelected:
<Save>
<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket"/>
</Save>