Tag: SetTicketInfo

Ytria automation can add ticket information to your sapio365 activity logs. 

Tag Attributes

AttributesAttribute ValuesValue Description
TicketNumberN/A

Integer

TicketDescriptionN/AString
TicketURLN/AString
EmptyCan only be TRUE - No DefaultSets no ticket information
ClearCan only be TRUE - No defaultRemoves any previously set ticket information
KeepAliveTRUE (Keeps dialog open) / FALSE - Defaults to FALSEN/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"/>
XML

Store empty ticket info for current script/job: 

<SetTicketInfo Empty="True"/>
XML

Remove stored ticket info for current script/job: 

<SetTicketInfo Clear="True"/>
XML

If info already store, do nothing else show dialog: 

<SetTicketInfo/>
XML

Show dialog: 

<SetTicketInfo KeepAlive="true"/>
XML

Show prefilled dialog: 

<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket" KeepAlive="true"/>
XML

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