OpenWGA 7.6 - TMLScript reference

Design
Method :

startProblemOccasion(occasionKey)

On object Design
Usage Start a problem occasion and returns an occasion object
Description

Use this method to start a problem occasion for which you want to register self-clearable problems. Problems of previous occasion runs will get cleared on calling this methods. The returned occasion object should be used for subsequently registering problems of this occasion with addProblem().

See Registering problems for a description of the problem registration functionality.

Parameters

occasionKey (String):

Key string for the problem occasion

Return value An occasion object (Java object of type de.innovationgate.wgpublisher.problems.ProblemOccasion)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events