Jump to: navigation, search

Changes


Code Editor

12 bytes added, 07:50, 24 April 2013
/* Code snippets */
===Start workflow snippet===
This snippet will insert the code to execute a {{UBIK}} [[Workflow|workflow ]] synchronously, meaning in the same thread as the rest of the code is executed. So code execution will only continue after the workflow is finished. Example:
<source lang = "csharp">
This code locates the workflow object at the MetaClass of the object using its ''UID'', loads the declared [http://en.wikipedia.org/wiki/Extensible_Application_Markup_Language XAML] code and sends it to the invoker. The calling object will be passed as first and only parameter ''UBIKObject''.
{{Hint|If you need the workflow to be executed conditionally, just wrap the conditions (e.g. and an <code>if</code> block around the generated snippet!}}
==Other functionality==