Home

Knowledge Editor User Manual 5.8.0

image

Contents

1. 9 APPENDIX OBJECT EXPRESSIONS IN THE KNOWLEDGE EDITOR BNF 37
2. ProcessBase ribbon The following attributes are displayed for a task definition e Inherited from Use this drop down to base the new Task Definition on a standard definition e IsindependentProcess This field is deprecated e HelpTextValue You can write help texts directly in the editor but we recommend to write help text in separate html files e Href URI to help text in HTML format e DisplayName Can be anything but it is recommended to use the same as the Name attribute e Name It is recommended to have unique names within a project e ld Created automatically must be unique within the project read only e Context Variables Here we define the context variables used in only this task definition These are used in addition to the Global Execution context Read more in the chapter Connecting Custom Code e Annotation All the annotation attributes are used for documentation and is not used in runtime When a task definiton is based on standard task definition you will see the values that are inherited in the right hand side of the screen This is just for convenience You cannot change these without editing the standard task definition Typically you will only change the name of the inherited definition and later on configure the steps in the standard task definition Attributes Context Conditions Actions Annotation Prototype Documentation Inherit from None Q Y AttributeName Value HelpTex
3. 7 Version Control of definition files 20 8 Using the Knowledge Editor for Rapid Prototyping 21 8 1 NOAIDEN 21 8 2 Preparations and planning the prototype rnnnnvvvvnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnen 21 8 3 Making the prototype e 23 8 4 Brief review of prototyping functionality sssvvvrrnnnnnnnnnnnnnvvnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnen 24 8 4 1 Prototype ribbon menu gb rr c 25 8 4 2 Prototype image ISG RE Oo oS 26 8 4 3 Prototype image area d susssissipiemitiatutRU OMEN IU RUNI CM ME EDAD ude PH NE EMNDMUE 26 8 4 4 Prototype linking area 4 ennnnnnnnrnnnnnnrnnnnnnnnnnrnnnnnnrnnnnnnnnnrnnnnnnnnnnnnnenenrrnnnnrnnnnnnenenenennnn 26 8 4 5 S g the PO VDO ee eee ene cul dua uti eee etd 26 9 Connecting Custom Code 2 ko n RO RR EY 27 9 1 WOT OW d 27 9 2 iz n 27 10 Generating process base documentation 28 10 1 Documentation of process bases s wwwnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnne 28 10 2 Overview of the generated documentation rrrnnnnvvvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnn 28 10 2 1 The ribbon menu to generate view and export documentation esssssssse 32 11 Appendix Object Expressions in the Knowledge BOTPME uana axe aa
4. Expression Introducenodev Delete Position null Expression Position null AttributeName Value FalseFeedback DisplayName New Condition Name Id CX82240251 6210 492a a1c0 5f3be27c4126 To configure a new condition click the appropriate condition name in the Conditions ribbon A condition can be based on a standard condition in which case you choose from the Inherit from drop down list Conditions are logical expressions and can contain logical operations object expressions or simply true or false When editing conditions you will see them as a hierarchy Click a node and edit the element in the pane that appears to the right To enter a new And branch a new Or branch or a new Not branch click the Introduce node drop down list and choose the desired option Note that the editing is done in a hierarchy The example below shows how to enter WORKING WITH PROCESS BASES PROCESS BASE VIEW 11 Knowledge Editor User Manual the logical expression Candidate isPrequalified OR Candidate age gt 70 AND Candidate isProfessor Condition Details Inherit from None Q v Condition Expression Introduce node Delete or Expression Candidate isPrequal fied and Candidate age 70 Candidate isProfessor AttributeName Value FalseFeedback TrueFeedback Candidate is prequlified DisplayName Prequalified Condition Id CXec0b3492 d348 470b a601 651fc20a8bb3 The following attributes ar
5. Tasks Go To Definition E Cut Paste Delete X Im s Generate TaskLibrary Entry The KnowledeEditor will switch the view to the TaskLibraries pane If the task did not already have a task library entry a new will be created and placed in a new task library called New generated task library entries From here it can be moved into one of the existing task libraries or be renamed if it belongs to a brand new collection task library When empty the New generated task library entries can safely be deleted WORKING WITH TASK LIBRARIES CREATING PROCESS LIBRARY ENTRIES DIRECTLY FROMTASKS 16 Knowledge Editor User Manual Startup View FSProject ProcessBases TaskLibraries fff Demo Task Library Task Library Entry 55 Recruitment Tasks E 55 New TaskLibraryEntry B9 Calc Tasks demo Include Condition S New generated task library entries E Version CX54bc0810 8e82 4051 bdaa fe9350b223ac New TaskLibraryEntry Task Library Entry Details AttributeName Value DisplayName New TaskLibraryEntry Name CX54bc0810 8e82 4051 bdaa fe9350b223ac If the task already had an associated task library entry it will be opened for editing Startup View FSProject ProcessBases TaskLibraries fff Demo Task Library G Recruitment Tasks E Register recruitment position i Prepare and conduct first interview EE Prepare and conduct second interview E Prepare and conduct reference check i Prepare and
6. a list of WORKING WITH PROCESS BASES PROCESS BASE VIEW 12 Knowledge Editor User Manual actions right click the node in the tree view and select Action An action can be based ona standard action in which case you choose from the Inherit from drop down list FAN Note that when implementing clients running against the Rest API you can have only one action that opens up a web interface That means if the user for instance needs to use two web registration forms they need to be modeled as two steps Action Details Inherit from None Q v Expression UserAction client UserForm Un fsdemo collect partial evaluation html 7Context AttributeName Value Remote O Suspending vi ResultKey LocalResult DisplayName Evaluate Result Name EvaluateResult ld CXc7594e42 971e 4a1c a9f1 caa 743849360 CreationDate 30 09 2013 13 46 28 The following attributes are displayed for an action e Remote For actions to be executed somewhere else than the server for instance on a client in a rich client scenario e Suspending The step is suspending after the action and waits to be resumed Set suspending to true for actions that opens up a web interface with clients running against the Rest API e ResultKey If the action returns a result it will be assigned to the result key Typically you write the name of a context variable here e LocalResult The default value of LocalResult is false Only set this attribute
7. associated with the top level task The framework does not use this attribute but it is available to applications 9 2 Process e Process The currently active process in new terminology the task definition of CurrentTask e Activity The currently executing activity in new terminology the currently executing step e Context The context of the current task a convenient way to access any context variables e Strategy The strategy to use to evaluate rules e CurrentUserName The user who is currently logged in Define this variable in your application if you wish to monitor or record who executed a process or activity CONNECTING CUSTOM CODE WORKFLOW 27 Knowledge Editor User Manual 10 GENERATING PROCESS BASE DOCUMENTATION 10 1 Documentation of process bases Using the Knowledge Editor or command line tools full documentation of a process base with all task and step definitions can be generated The generated documentation is for all kinds of stakeholders developers functional architects administrators and users of the solution based on FrameSolutions Starting from the process base xml files and the prototypes associated with task steps in these definitions a set of html files are generated The generated html documentation will present the defined processes in an easy to understand and easy to follow manner with simple navigation Inheritance from standard definitions is taken into account in the same manne
8. complaints and compensation changes 1st of January We cannot simply change the Task definitions on new year day since this is a long running process and there will be cases in process With the process library we can have different versions of the task definition with time stamps so all new cases will use the new definition while already started cases will use the old definition In a running FrameSolutions application the task library is the only place where the user can manually start new tasks This means that tasks that can only be started automatically does not need and should not be in the task library unless you need to handle different versions of a task definition It is not mandatory to use a process library in FrameSolutions it is however strongly recommended if you have many processes and process bases 5 1 Process libraries view To create a process library for your project go to the FSProject ribbon and click the New Process Library Then open the process library view by double clicking the Process Library in the tree view The process libraries view shows the process libraries as a tree view on the left side The following attributes are displayed for a process library e Include Condition Include condition is not set in FrameSolutions applications with only one task library e DisplayName Is the name you want to use for display e Name Should be unique within a project A unique Id is automatically generated but can
9. conduct tests and checks i E Send rejection Include Condition E Version CXb261fa62 4fd1 4010 a4fe ca07118f4804 i Prepare offer and contract E End recruitment 3 Calc Tasks demo E 8 New generated task library entries New TaskLibraryEntry Task Library Entry Details AttributeName Value DisplayName Register candidate Name CX69dc817e 1918 47fe alfd 7316f5e9e7b7 WORKING WITH TASK LIBRARIES CREATING PROCESS LIBRARY ENTRIES DIRECTLY FROMTASKS 17 Knowledge Editor User Manual 6 WORKING WITH THE RULE EDITOR Rules can be used directly in conditions in the task definitions It is possible to create one or more separate rule bases The rules can then be either executed from the conditions by specifying a named predicate or executed directly from the application 6 1 Rule Base View The rule view is opened from the project view by double clicking a rule base To start a new rule base click the New Rule Base in the FS Project ribbon Give the rule base a unique name within the project The filename displayed in the attributes is specified after you have used Save As to save the file 6 1 1 Defining a new rule To create a rule use the New Rule in the RuleBase ribbon In the properties view you can edit the following e Name the rule name is significant if you want to use named predicates in conditions e Author just for documentation e Version is just an annotation and not use
10. to true if the result value of an action should be locally scoped in other words only used inside the current step e Feedback This is feedback given to the user after the action is executed Can be an object expression e DisplayName text to be shown in the Knowledge Editor GUI e Name Does not need to be unique e ld Created automatically must be unique within the project read only e Annotation All the annotation attributes are used only for documentation and is not used in runtime WORKING WITH PROCESS BASES PROCESS BASE VIEW 13 Knowledge Editor User Manual 5 WORKING WITH TASK LIBRARIES The FrameSolutions Task Library earlier called the Process library is an important facility to expose the adaptive process support to the application users Rather than simply creating a list of defined tasks the Task Library contains a structure where the task definitions are represented by a small structure in order to embed logic describing how each task definition should be exposed in each situation the process library is consulted This means that the very same task definition may be exposed differently for the same user in different situations for example in different cases In addition to being used as a filtering mechanism the task library can handle different versions of a task definition This is useful in scenarios where a business process changes at some predefined point in time One example could be if the process for handling
11. 0 processbasefiles processbase Process Library C Dev Xst2 0 processbasefiles proclib MatsProcLib ml Rule Bases Path C Dev Xstt2 0 processbasefiles processbase eme oe tee Tet Help Base URI Global Execution Context Variables Additional information Generating documentation presupposes that there is an FS Project defined for the process bases you want to document The menu choices for documentation generation are only shown in the FS Project ribbon menu In order to generate process documentation from the command line for instance as part of a software build process the project structure should be a main folder for the FrameSolutions project and sub folders with helptext process base and prototype e Msfolder e fsfolder fsproject xml e fsfolder processbase e fsfolder helptext e fsfolder prototype GENERATING PROCESS BASE DOCUMENTATION OVERVIEW OF THE GENERATED DOCUMENTATION 33 Knowledge Editor User Manual 11 APPENDIX OBJECT EXPRESSIONS IN THE KNOWLEDGE EDITOR Object expressions are FrameSolutions means of connecting tasks to framework and application services They are cascaded message sends that use parameters and operators in the same way as the programming language you are using to develop your application Object expression syntax is with a few restrictions and extensions the same as that of your development language An overview is provided below The complete BNF syntax
12. Knowledge Editor User Manual Author Wei Li Version 5 8 0 Knowledge Editor User Manual TABLE OF CONTENTS 1 1 1 2 1 3 3 1 3 2 5 2 5 3 6 1 6 1 1 Knowledge Editor Preface 4 intended audience SEc 4 Java versus Net verSion sssssnnssssennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmn nnnnnnnnn nnmnnn nne 4 Content of this user manual sssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnmnnn 4 Installing Knowledge Editor 5 Working with Projets m REPE 3 6 Why Use projects rr 6 Start a New POP ae 6 Working with Process Bases 8 Process aS VIC fe 8 PENN 8 Defining eee ERR EEE 9 5 Sale a EWE SI EEE 9 Defining conditions TETTE T 10 Defining actions MR EE m 12 Working with Task Libraries 14 Process libraries view c 14 Editing process library entries sssvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnne 15 Creating process library entries directly from tasks eeeeeeeeeee 16 Working with the Rule Editor i 2 2A ERA 18 LIE M 18 Defining a new as erc 18 KNOWLEDGE EDITOR PREFACE INTENDED AUDIENCE 1 Knowledge Editor User Manual
13. ORKING WITH PROJECTS WHY USE PROJECTS 6 Knowledge Editor User Manual Codes Path path where all the codes xml files in the project is located Code Relations Path path where all the code relations xml files in the project is located Export Path Reserved for future use XML format Choose the Standard format for all new projects Encoding Use UTF8 for all new projects Technology Choose FSJava if the target application is in Java or FSNet for a Net application Line Ending End of Line type means how the editor saves the definition files You can choose between Windows Unix or Mac type This will effect the use of CR LF in the end of each line in the file Note that if you change the line ending in the project the process library and rule base files will be saved with the correct line ending next time you save them Help Base URI If all help texts in the project are located at the same URI you can set the base URI project wide Global Execution Context Here we list the variables that are hooks into the domain specific model Read more about connecting the declarations with the domain model in the chapter Connecting Custom Code At this point it is enough to note that all variables used in object expressions should be declared here There is a number of predefined parameters in FrameSolutions that you do not need to declare WORKING WITH PROJECTS START ANEW PROJECT 7 Knowledge Editor User Manual 4 WORKING WITH PROCE
14. SS BASES The real work in a FrameSolutions application is done by execution tasks and the step also called activities within The template tasks are defined as Process definitions and stored in Process Bases One project may have one or more process bases In an application with many processes we strongly recommend to use one process base for each main functional area A FrameSolutions application loads all the process bases so the split into different process bases has no significance in runtime It is only a convenience when working in the Knowledge Editor and for avoiding concurrent update of the XML files when many analysts work on the same file Each process base can contain process definitions and standard elements You can define standard elements for process definitions activities conditions and actions Standard elements can be used by other elements in the process base they are defined and in any other process bases loaded in the editor The purpose of standard elements is to facilitate reuse and standardization within a project Reuse of standard elements work in the same way as object oriented inheritance This means that you for instance can base a process definition on a standard process definition and only override the configuration specific for the current process definition The Knowledge Editor will validate the consistency of process and rule bases This might lead to validation errors A validation error will be shown as a read
15. aeeeaa a a oe SEU ebd ga di a Ed 34 11 1 Oa ATE 34 11 2 BNE emm 35 KNOWLEDGE EDITOR PREFACE INTENDED AUDIENCE 2 Knowledge Editor User Manual KNOWLEDGE EDITOR PREFACE INTENDED AUDIENCE 3 Knowledge Editor User Manual 1 KNOWLEDGE EDITOR PREFACE The FrameSolutions Knowledge Editor User Manual describes how to use the knowledge editor in a typical FrameSolutions project This document is compatible with FrameSolutions 5 8 0 1 1 Intended audience The intended reader is a business analyst or a programmer that models work processes in a FrameSolutions application Anyone editing task definitions or rules bases will need to use the Knowledge Editor The documents Introduction to FrameSolutions and Business Analyst s Guide are prerequisites for reading this manual 1 2 Java versus Net version FrameSolutions consists of two different distinct versions one implemented in Java and one implemented in Net C The core components for process execution workflow and declarative rule execution are functionally equivalent in the two versions The process and rule definition files created in the Knowledge Editor are interchangeable The difference in the technology versions are mainly in the number of additional supporting modules which is higher in the Java version than in the Net version 1 3 Content of this user manual FrameSolutions is a framework and there is an unlimited nu
16. ation e View Documentation Open generated documentation in the your default webbrowser e Export Documentation Copies generated documentation with all necessary files to a chosen folder GENERATING PROCESS BASE DOCUMENTATION OVERVIEW OF THE GENERATED DOCUMENTATION 32 Knowledge Editor FSProject Process Base Knowledge Editor User Manual I Refresh X Close df Attach A save Detach Bl Save As FE New Process Base File FSProject Fg New Rule Bfse Uff New Process 6 ary Generate Documentation 60 View Documentation E Export Documentation Documentation st Dispensasjon ES Dokumentbehandling zi Dyrimport Fiskeeksport EE Godkjenning 9 Hendelse Henvendelse ES Import Inspeksjon IE Kj ttkontroll Planteeksport 53 Pr vetaking 5 Revisjon Sykdomstilfelle Beredskapslogg HusdyrHendelse ES skjema Standard Dokumentbehandling Standard Dyrimport Standard Fiskeeksport ES standard oekonomi Standard Planteeksport ES Standard planteimport ES Standard Proevetaking ES Standard Samlebehandling ES Standard Soeknad ES Standard sykdomstilfelle StandardTilsyn Standard vedtak ES Standard virksomhet ES StandardWorkflow 51 Eksempelprosesser for prototyp ES Vedlikehold cot f MATS prosessbibliotek RuleBases Properties Name Mats Filename C Dev Wslt2 Oprocessbasefiles MatsFSProject xml ProcessBases Path C Dev Xst2
17. be changed WORKING WITH TASK LIBRARIES PROCESS LIBRARIES VIEW 14 Knowledge Editor User Manual 5 2 Editing process library entries A process library entry is a representation of a task definition We use the process library to organize task definitions filter out only relevant task for users and handle multiple version Therefore a task definition can appear more than once in the process library We can for instance present the same task definition with different names for different user groups to make the terminology fit with their daily work situation Since we handle different versions in time we must connect the task definitions to a version of a process library entry To create a process library entry you click the Process Library Entry in the ProcessLibrary ribbon The following attributes are available for a process library entry e Include Condition Here you can make a condition for when to include the process library entry e Version Task Definitions are connected to versions When you create an entry you will have one version To create more versions click the New version in the ProcessLibraryEntry ribbon A version has an automatically generated unique id which is read only Each Process Library Entry version must be connected to a Task definition and has the following attributes e Description Description for this particular version e ValidFrom The time when the version is to be included in other words be the
18. bered areas of the screen USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING BRIEF REVIEW OF PROTOTYPING FUNCTIONALITY 24 Knowledge Editor User Manual p Knowledge Editor Si 5 Knowledge Editor FSProject Process Base i Ux Refresh X Close A Standard Action T Standard Process 3 Activity dj Open Prototype Remove Prototype B sve 3 Standard Activity 53 Process CE Subprocess f ff Save Prototype As A Generate Prototype Bl Seve As Standard Condition IB Save Prototype 80 Run Prototype ie ProcenBase brocessbeinion Prtoype O OO 5 registrer anmerkning AttributeName Value Fulscreen V Show links ff Image Name 1_kjottkontroll Filename 1_kjottkontroll jpg hmm AVR Link to Image 1 2_velg_individ 8 4 1 Prototype ribbon menu 1 e Open Prototype Open an existing prototype e Save Prototype As Save the prototype if it already exists a new copy of the prototype is created e Save Prototype Save changes in an existing prototype e Remove Prototype Deletes the prototype e Generate Prototype Generates an html version of the prototype to run in any browser e Run Prototype Starts the prototype in your default browser e Export Prototype Exports all the generated files for a prototype to a chosen folder USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING BRIEF REVIEW OF PROTOTYPING FUNCTIONALITY 25 Knowledge Editor User Manual 8 4 2 Prototype image li
19. d in runtime e Priority is a number to assign the priority for which rules to be evaluated first It can be any integer The higher the integer the higher the priority Rules in FrameSolutions can have action just as you can in task steps You can have the following actions e Pre actions Always run before the rule is executed Rules are executed if the consequent matches a named conditions or is a premise for another rule e True actions Executed if the rule evaluates to true e False actions Executed if the rule evaluates to false e Post actions Always run if the rule has been executed A Note that if a higher priority rule has evaluated to true the other rules with the same consequent will not be executed WORKING WITH THE RULE EDITOR RULE BASE VIEW 18 Knowledge Editor User Manual To edit the rules we need to enter a consequent and the premise In the premise we use the same syntax as in conditions The consequent needs a predicate name which is the name used in named conditions to execute the rule The consequent takes any number of parameters and can also return values Assume we want to express a rule like the below and then return a value which is two times the person s income IF a person is of legal ageAND a person s credit rating is okay THEN a person gets the loan In the knowledge editor the rule will be describes as follows Rule Editor Properties E testrule Pre actions Premise Con
20. datory WORKING WITH PROCESS BASES PROCESS BASE VIEW 10 Knowledge Editor User Manual e When astep is repeatable e When the step is included in a task instance This is the Include Condition It means that if the condition is false the step will not be displayed for the task instance The default value is true e When astep can be executed in a task instance This is the Pre condition This is typically used when some other steps or events must have occurred The default value is true e When the true actions or the false actions of a step should be executed This is the ActionChoice Condition The default value is true e When the state is as expected after executing the other parts of the step This is the Post Condition The default value is true When the Post Condition is true the step is regarded as completed The example below shows the include condition for the step Register candidate profile This include condition specifies that the context variable Position must be null for the step to be included In other words if it is already registered a position the Register candidate profile step is not included in the task instance Attributes Context Conditions Actions Annotation Prototype Documentation Register candidate profile Mandatory Condition true Repeatable Condition true Include Condition Position null Pre Condition Condition Details Inherit from None Qa v Condition
21. e displayed for a condition e FalseFeedback If the condition evaluates to false the text in the value column is shown The value given can be an object expression The attribute is optional which defaults to nothing e rueFeedback If the condition evaluates to true the text in the value column is shown The value given can be an object expression The attribute is optional which defaults to nothing e DisplayName text to be shown in the Knowledge Editor GUI e Name Does not need to be unique e ld Created automatically must be unique within the project read only 4 1 5 Defining actions You can configure different actions on a step e Pre Actions These are executed as soon as the step starts if the pre condition evaluates to true e True Actions These are executed if the ActionChoice condition evaluates to true e False Actions These are executed if the ActionChoice condition evaluates to false e Post Actions These are executed after all the other actions just before the step completes regardless the outcome of the evaluation of the Post condition It is in these actions that the domain logic of the application is executed All of the action types above can be alist of actions Actions are object expressions so you can manipulate context variables like setting the value of a variable or execute methods in your domain code To configure a new action click the appropriate action name in the Actions ribbon To add an action to
22. e you should avoid having more than one process designer work with the same process base file at the same time You should then save the xml files in the project as a logical unit of work for instance after defining one complete Task definition and commit the file to your source control system If by any chance anyone else has changed the file in the source control system in the meantime you need to merge the file as XML text VERSION CONTROL OF DEFINITION FILES RULE BASE VIEW 20 Knowledge Editor User Manual 8 USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING 8 1 Introduction Using the Knowledge Editor one can annotate task steps with screenshot images photos png etc In this way you can quickly create a prototype to show to users and discuss functionality A task step can be connected to a single screenshot or to a collection of linked screenshots The basic idea here is that some task steps will have a GUI and these can be demonstrated to the customer prior to their implementation Note You also can annotate the steps of a delivered solution with actual screenshot images this can be useful additional information that augments the generated documentation of FrameSolutions processbases 8 2 Preparations and planning the prototype We had 3 screenshots as a preparation We used the balsamiq tool and captured screenshots using the windows snipping tool but any way of creating these picture files would suffice even drawing o
23. ed e Repeatable Check the check box if the step is repeatable or in other words can be executed more than once It is possible specify that a step is conditionally repeatable This is done in the Conditions Actions tab Experience shows that setting steps to repeatable is a practical way to handle exceptions and error situations even if you initially think about the step to be something you do once e DisplayName Text to be shown in the GUI e Name Does not need to be unique e ld Created automatically must be unique within the project read only e CreationDate Set automatically read only If you want to make your new step into a standard step just select the step and click Standard Activity in the ProcessBase ribbon The step will then appear under the Standard Activities tree view to the left of the screen and in the Inherited from drop down list Attributes Context Conditions Actions Annotation Prototype Documentation Inherit from None QA v AttributeName Value HelpTextValue Href Mandatory vi MustFollow Repeatable vi DisplayName Register candidate profile Name RegisterCandidateProfile PrototypePath prototype RecruitmentProcessbase RegisterCandidate RegisterCandidateProfile RegisterCandidateProfile xml ld CXaecB dbb adae 46d8 944b 3ee22ee5cb14 CreationDate 01 01 0001 00 00 00 4 1 4 Defining conditions You can configure different conditions for a step These are e When a step is man
24. ereservasjon Ukjent produsentnummer gt o e 3 a B EH p B p p p B p B B B bes B E E The information from Conditions Actions is included also taking into account the inheritance of standard definitions GENERATING PROCESS BASE DOCUMENTATION OVERVIEW OF THE GENERATED DOCUMENTATION 29 Knowledge Editor User Manual EJ Include Condition og 2Virksomhetsmappe null gt Pre Condition Pre Actions A ClientVirksomhetSP velgVirksomhetsmappe ug 7ClientworkflowSP connectArbeidsmappeAndTask CurrentTask Virksomhetsmappe ActionChoice Condition gt True Actions gt False Actions tv aam a a a a a mf E E a a a a Step annotations are included GENERATING PROCESS BASE DOCUMENTATION OVERVIEW OF THE GENERATED DOCUMENTATION 30 Knowledge Editor User Manual Knowledge Editor FSProject Process Base G Refresh X Close A Standard Action 15 Standard Process 3j Activity A sve 3 Standard Activity ZA Process 8 Subprocess Save As I Standard Condition ProcessBase Won Prototype Documentation Description If you are upgrading from NET Framework version 1 0 see XsITransform Class Implements the XSLT Processor for migration information i Additional arguments can also be added to the s
25. exclamation mark To see the actual error message move the cursor over the exclamation mark 4 1 Process Base View The process view is opened from the project view by double clicking a process base To create a new process base click the New Process Base in the FS Project ribbon You need to enter a unique name within the project and the filename for the xml definition file In the process base view there is a Dependencies field showing process bases containing standard elements that this process base depends on Initially this field is empty It will be updated automatically when you start using standard elements from other process bases 4 1 1 Attach and detach If you want to include a process base that is not created within your project you can use the Attach operation either from the FS Project ribbon or right click on the Processbases list in the FSProject view Here you can include the process base in your project The other way around you can detach a process base and thereby take the process base out of the project WORKING WITH PROCESS BASES PROCESS BASE VIEW 8 Knowledge Editor User Manual 4 1 2 Defining a new task A task definition earlier called a process definition is a sequence of steps earlier called activities The task definitions are instantiated as task instances at runtime It is the task instances that can be passed around in a workflow To create a new task definition click the Process button in the
26. ion It is technically possible to have more than one FrameSolutions project for one application but in this scenario we will only work with one FrameSolutions project Using one FrameSolutions project gives you the following benefits e Quick overview of all process bases libraries and rule bases used in your application e Open all XML files in one operation when you open the project you load all project related files e Transparent handling of standard elements that facilitates reuse e Search in all project related files e See dependencies between process bases e Setup a global execution context to bind domain specific code into your declarations 3 2 Start a new project To start a new project you need to go to the Knowledge Editor ribbon and click the New FS Project in the upper left corner Then go on to choose the FS Project tab to configure the project In the project tab you should register the following e Name this is the name of your project the name is not used in runtime but it is very wise to use the name of your application e Filename filename of the project xml file e ProcessBases Path path where all the process bases with your Task definitions in the project is located e Process Library the Task definition library file You need to create a new Task Library and save the file before you can register it on a project e Rule Base Path path where all the rule base files in the project is located W
27. ity Open Prototype Remove Prototype Generate Prototype sve 3j Standard Activity Z Process CE Subprocess W Save Prototype As B6 Run Prototype Q Standard Condition B Save Prototype E Export Prototype ProcessBase ProcessDefintion Attributes Context Conditions Actions Annotation F List of Images S f Motta hendelsesmelding xa Velg virksomhet Se p lregistrer hendelsesmeld 2 velg individ x Se tilsynsobjektsdetaljer 3 detalj f Se dokumenter L Vis notatliste for s knad 3 Lag ny oppgave for inspeksjon 3 Lag ny oppgave gjennomf r sa 3 Avslutt oppgaven Motta melding om innrapportering Motta melding om meldepliktig he Motta melding om selvdedt avlivet e Nullstill eller reparer individ Show links bu Opprett og bekreft merkereservasj i kjbttkontroll jpg Opprett restriksjon i feviXsIt2 Oiprocessbasefiles prototypelVelg virks Overf r dyr ved eierskifte Rediger individ Rediger restriksjoner Rediger sykdomstilfelle d Registrer husdyrhendelse 2 velg individ Slett husdyrhendelse Slett melding om selvd dt avlivet s Slett merker uten reservasjon Slett merkereservasjon Ukjent produsentnummer e an eg og og og on e an e og eg og og e eg A o 10 2 1 The ribbon menu to generate view and export documentation e Generate Documentation Runs transformations to generate the collection of html files for the document
28. mber of possibilities for how you can assemble applications on top of the framework To provide a usable and practical user manual we have built the manual based on some assumptions We assume the reader wants to start a new FrameSolutions application creating Task definitions adding rules and finally connecting the activities in tasks to domain objects This manual is not a reference manual with description of each and single element in the editor KNOWLEDGE EDITOR PREFACE INTENDED AUDIENCE 4 Knowledge Editor User Manual 2 INSTALLING KNOWLEDGE EDITOR The Knowledge Editor is a stand alone Windows application All prerequisites are included in one msi file The installation is a simple double click on the KnowledgeEditorinstaller msi INSTALLING KNOWLEDGE EDITOR CONTENT OF THIS USER MANUAL 5 Knowledge Editor User Manual 3 WORKING WITH PROJECTS The Knowledge Editor is a stand alone Windows application to edit the project process bases process library and rule bases in FrameSolutions There is one or more XML files for each of these concepts The editor is built around the concept of FrameSolutions with a project view showing all the entries belonging to the project 3 1 Why use projects A FrameSolutions project in the Knowledge Editor is nothing more than a collection of process definitions process libraries and rule bases A good convention is to create one and only one FrameSolutions project for each FrameSolutions applicat
29. n paper or a whiteboard and taking photos using a phone USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING INTRODUCTION 21 Knowledge Editor User Manual report evaluation png report evaluation 2 png report evaluation 2 png Dilberts 3rd assistant Dogbert Relerence check CIENMU 27112113 Diberts 3rd assistant Dilberts 3rd assistant Dogbert Dogbert Reference check Reference check Gort sies Te Gort Suse Ts 27112113 og 27112113 KKK KKK KKK KKK j Details In particular we want the user to be able to indicate a score by picking a star A score of three or fewer stars results in a thumbs down overall recommendation while a score of four or more stars gives a thumbs up If we were doing a very simple prototype the first screenshot report evaluation png would suffice In these example we want to demonstrate a little more of GUI functionality report evaluation png report evaluation 2 png report evaluation 2 png Report evaluation Position Diberts 3rd assistant Dilberts 3rd assistant Candidat Dogbert Reference check Reference check Curl Steele v Reporter Guy Steele v 27112113 Dote 27112113 3 p l Y Score 3 Kg 3 a u j Details The figure above hints at how we want to demo the wanted dynamic behaviour The animations in the list below correspond to the animation number close to each transition in the figure 1 Clicking a
30. of object expressions is given in section BNE below 11 1 Overview Object expressions are cascaded message sends that use parameters and operators much as your development language does However unlike programming language statements which are compiled object expressions are stored as data and evaluated at runtime An object expression can call instance methods on a class The following expression calls the instance method askUser on the global object GUI to display a prompt GUI askUser Have you received confirmation An object expression can also call class methods The following expression invokes the class method getWorkflowManager on the class Factory to return an instance of the class WorkflowManager Factory getWorkflowManager Messages can be cascaded The following expression sends the instance method sendTask to the instance of WorkflowManager returned by the previous expression Factory workflowManager sendTask Prepare court hearing Case getOfficer Case As the expression above reveals object expressions can contain variables A variable is represented by a name prefixed with a question mark Case Access object attributes by appending a dot and the attribute name Assuming that Case is bound to an object representing a court case having an attribute named involvedParties the following expression returns the involved parties Case involvedParties You can assign a value to a variable by telling the contex
31. r as it is ina FrameSolutions workbench client in other words the documentation is presented in the same manner as presented for users executing a task and its steps 10 2 Overview of the generated documentation The Attributes Context info is included taking into account the inheritance of standard definitions GENERATING PROCESS BASE DOCUMENTATION DOCUMENTATION OF PROCESS BASES 28 Knowledge Editor User Manual Knowledge Editor FS Project ProcessBase X Close A Standard Action E Standard Process Activity 31 Standard Activity 5A Process Subprocess Standard Condition Se p registrer hendelsesmeld 1 5 Se tilsynsobjektsdetaljer gt Se dokumenter felles hendelse MottaHendelsesmelding VelgVirksomhet html 3 Vis notatliste for s knad a 3 Lag ny oppgave for insp 3 Lag ny oppgave gjenno Ed Avslutt oppgaven w E Velg virksomhet S k frem velg virksomhetsmappe og knytt oppgaven til mappen Velg virksomhet SokfremVelgVirksomhetsmappe 3 AprototypelVelg virksomhetlVelg virksomhet xml Z0710101326405495346WTNGD Z061201135425746534400SLK 01 01 0001 00 00 00 01 01 0001 00 00 00 Nullstill eller reparer individ Opprett og bekreft merkereservasj Opprett restriksjon Overf r dyr ved eierskifte Rediger individ Rediger restriksjoner Rediger sykdomstilfelle Registrer husdyrhendelse Slett husdyrhendelse Slett melding om selvd dt avlivet 5 Slett merker uten reservasjon Slett merk
32. sequent LoanWorthy Person Person getincome 2 True actions False actions Post actions Predicate Editor Consequent predicate Parameters Predicate name Arguments Return expressions LoanWorthy Person Person getlncome 2 4 Consequent expression LoanWorthy Person Person getlncome 2 Add Remove Add Remove Predicate Editor Atomic And Not Or Exists ForAll Named Introduce node Delete E and Person getAge gt 18 Person hasCreditRating WORKING WITH THE RULE EDITOR RULE BASE VIEW 19 Knowledge Editor User Manual 7 VERSION CONTROL OF DEFINITION FILES All the artifacts that the Knowledge Editor works on are stored in plain XML files In these files there may be references to other files like help files in HTML or image files for prototype use FrameSolutions is a framework which together with your custom code constitute the working application It is therefore of paramount importance that your code and the definitions are compatible We recommend to use the same version control system for the definition files as you use for the rest of your code FrameSolutions does not contain any versioning control system nor mandate a particular versioning control system If your application supports many processes and hence has many Task definitions we recommend to split the different process areas into different process base files to avoid change conflicts The same applies to rule bases In practic
33. st 2 e 3 buttons at the top of Area 2 o Button to upload an image screenshot o Button to delete selected image o Button to set the start image home screen of prototype e The list of uploaded image files o In which one image is set as home screen o When an image in the list is selected the image preview area below is updated accordingly left including the list of links from the chosen image right 8 4 3 Prototype image area 3 This is where you work with a particular chosen image e The Add link button is used to associate a link with a chosen rectangular area of the image e There is a button to show the image fullscreen you can also work with linking on the full screen e You can toggle links on off The defined links for a particular image are shown in a different color and with a number associated In the picture above there is only one linking area e Notice that you can click directly on the defined links to verify the associated behavior 8 4 4 Prototype linking area 4 This is where you associate the linking area of one image with a destination image which it links to e List of links in the chosen image e Possibility of picking which other image to link to in pulldown list 8 4 5 Saving the prototype The prototyping functionality is a self contained unit with its own functionality to open save delete prototype parts in the prototype ribbon menu The link from a task step activity to its pro
34. t the third star in the first screenshot results in the second screenshot with a thumbs down USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING PREPARATIONS AND PLANNING THE PROTOTYPE 22 Knowledge Editor User Manual 2 Clicking at the fifth star in the first screenshot results in the third screenshot with a thumbs up 3 Clicking at the fifth star in the second screenshot with a thumbs down results in the third screenshot with a thumbs up 8 3 Making the prototype Start by choosing the wanted step of the task definition where you want to add a prototype Select the Prototype Documentation tab Upload the set of screenshots 9 Make sure the right screenshot is set as the home screen picture bottom left For building the first animation above click the Add Link button Select a rectangular area on the screenshot colored yellow when setting Bieten tn USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING MAKING THE PROTOTYPE 23 Knowledge Editor User Manual om cm Indicate the wanted transition Notice the link area is indicated and E ERE m numbered on the screenshot left TE Choose the resulting screenshot to navigate rt to in the menu right i 8 4 Brief review of prototyping functionality A brief walktrough of the prototyping functionality is provided with reference to the screenshot above and the num
35. t to bind the name to the value Context bind Officer Stan Mann Context bind Officer Case getOfficer APPENDIX OBJECT EXPRESSIONS IN THE KNOWLEDGE EDITOR OVERVIEW 34 Knowledge Editor User Manual Object expressions can also access atomic values such as the string in the expression above Create instances using the keyword new new com computas RandomGenerator Use operators such as in this comparison new com computas RandomGenerator getRnd lt new com computas RandomGenerator getRnd Access classes using the keyword class The following expression computes the length in characters of the requested class name and compares it with the atomic integer 12 com computas Person class getName length gt 12 11 2 BNF In addition to the operators and expressions described below you can use the operators and expressions available in Java The object expression resolver automatically casts between primitives and their corresponding classes ObjectExpression UnaryExpression ObjectExpressionRest UnaryExpression UnaryOperator UnaryExpression Modifiers ObjectExpression Modifiers StaticClass ClassOperator AtomicValue Modifiers ObjectExpressionRest BinaryExpressionRest ObjectExpressionRest BinaryExpressionRest BinaryOperator UnaryExpression UnaryOperator Plus Minus Not BinaryOperator Equal NotEqual Or And LT LTEq GT GTEq Plus Min
36. tValue Href Mandatory vi MustFollow Repeatable v DisplayName Register candidate profile PrototypePath Aprototype RecruitmentProcessbase RegisterCandidate RegisterCandidateProfile RegisterCandidateProfile xml ld CXaec80dbb adae 46d8 944b 3ee22ee5cb14 CreationDate 01 01 0001 00 00 00 4 1 3 Defining a new step A task definition contains a list of steps and sub tasks sub tasks are also called subprocesses Steps are called Activities in the editor To create a new step click the Activity button in the ProcessDefinition ribbon A step can inherit from a standard step Select the standard step you WORKING WITH PROCESS BASES PROCESS BASE VIEW 9 Knowledge Editor User Manual want the new step to inherit from in the drop down list labeled Inherited from The following attributes are displayed for a step definition in the Attributes Context tab e Inherited from Use this drop down list to base the new step on a standard step e HelpTextValue You can write help texts directly in the editor but we recommend to write help text in separate html files e Href URI to help text in HTML format e Mandatory Check the check box if the step is mandatory It is possible to specify that a step is conditionally mandatory This is done in the Conditions Actions tab e MustFollow If it only should be possible to execute the step after one other step has completed use the drop down list to select the step that has to be complet
37. totype can be stored in the process base file You therefore need to save the process base to keep the link to the prototype the next time you open the process base in the knowledge editor The attribute PrototypePath of a task step stores the link to a particular prototype USING THE KNOWLEDGE EDITOR FOR RAPID PROTOTYPING BRIEF REVIEW OF PROTOTYPING FUNCTIONALITY 26 Knowledge Editor User Manual 9 CONNECTING CUSTOM CODE The conditions and actions created by using the Knowledge Editor will need to connect to the rest of your application code This is done by writing object expressions which is basically expressions in either Java or C depending on the programming language used in your application The object expressions must match exactly with your application code and are case sensitive To be able to connect FrameSolutions with custom code you need to agree with the application programmers on what classes objects and methods to expose We will strongly recommend to expose application logic as a set of classes called service providers The service providers will then be a clearly defined layer in the application The whole syntax of object expressions are defined in the Appendix section The following variables are predefined in the specified framework 9 1 Workflow e CurrentTask The currently executing task e MainTask If you assign a subtask to a user other than the one performing the top level task the MainTask is the task
38. tylesheet using the Xslt rgumentList class This class contains input parameters for the stylesheet and extension o 17 Se tilsynsobjekts 187 Se dokumenter 3 Vis notatliste for s knad 3 Lag ny oppgave for inspeksjon 3 Lag ny oppgave gjennomfer sak Avslutt oppgaven Motta melding om innrapportering Motta melding om meldepliktig hen Motta melding om selvd dt avlivet d Nullstill eller reparer individ Opprett og bekreft merkereservasjo Opprett restriksjon Overf r dyr ved eierskifte Rediger individ Rediger restriksjoner Rediger sykdomstilfelle Registrer husdyrhendelse Slett husdyrhendelse Slett melding om selvdedt avlivets AttributeName Value Se merker ten reservasjon Crrceem X Slett merkereservasjon Source MainActor SecondaryActors MainInput MainOutput TriggerEvent PostConditionDescription PreConditionDescription ImplementationPriority ImplementationStatus Eee f 3 E Bl zi 8 ec 2 f 2 ed P b HERE A 8 8 2 f I Prototypes linked to steps are included as documentation associated screens but also as live running prototypes that you can navigate into from the documentation GENERATING PROCESS BASE DOCUMENTATION OVERVIEW OF THE GENERATED DOCUMENTATION 31 Knowledge Editor User Manual Knowledge Editor FSProject Process Base A Refresh X Close A Standard Action Standard Process 3 Activ
39. us Mult Div Remain APPENDIX OBJECT EXPRESSIONS IN THE KNOWLEDGE EDITOR BNF 35 Modifiers Identifier Arguments Modifiers Identifier Word Name NumberIdentifier PosInteger Arguments ObjectExpression RestArguments RestArguments ObjectExpression RestArguments AtomicValue PosNumber String True False Null Variable StaticClass Constructor PackageName Word PackageName Constructor New StaticClass Arguments StaticClass PackageName Name Variable Identifier NumberIdentifier PosNumber PosFloat PosInteger Not I Equal NotEqual z Or And amp amp LT lt LTEq lt GT gt GTEq gt Plus Minus Mult Div Remain ClassOperator class Null null nil non o Knowledge Editor User Manual APPENDIX OBJECT EXPRESSIONS IN THE KNOWLEDGE EDITOR BNF 36 Knowledge Editor User Manual True true False false New new String String1 String2 String1 pene ny String TV ND V Name Big Char Digit Word Small Char Digit Char Small Big Small a z E 4p A Big A Z fq y l PosFloat PosExp PosReal PosExp PosReal PosInteger E e PosInteger PosReal PosInteger Digits PosInteger Digits Digits Digit Digit e
40. valid task definition for a Process Library entry Leave this blank to indicate from the beginning of time Time is in the format YYYY MM DD e ValidTo The time when the version expires e ProcessDefinitionld This is the name of the Task Definition use the drop down to choose the name of a task Definition from one of the loaded Process Bases e Definitionld The unique id of the Task Definition linked to the version Read only Process Library Entry f Find and filter candidates Include Condition E Version CXb261fa62 4fd1 4010 a4fe ca07118f4804 CXa127f042 dee9 4f0b b6bb 86e9c56ff55e ValidTo 2015 12 31 ValidFrom 2013 01 01 Version Details AttributeName Value Description CXa1271042 dee9 4f0b b6bb 86e9c56ff55e ValidTo 2015 12 31 ValidFrom 2013 01 01 ValidFrom 2013 01 01 ValidTo 2015 12 31 z Definitionld CXb90dd85b b56c 4f03 ad2b 332554cade90 WORKING WITH TASK LIBRARIES EDITING PROCESS LIBRARY ENTRIES 15 Knowledge Editor User Manual 5 3 Creating process library entries directly from tasks When you are working with the tasks in a processbase you can easily navigate from a task definition to its corresponding task library entry Right click the task definition and choose Generate TaskLibrary Entry End recruitment New TaskDefinition Step CTRL SKIFT P Subtask CTRL SKIFT U fe E Standard Steps Standard Actions Standardi E Standard Conditions Standard

Download Pdf Manuals

image

Related Search

Knowledge Editor User Manual 5.8.0

Related Contents

Owner`s Manual  BT 1500 Cordless Telephone User Manual  Hotpoint FFQ50P User's Manual  Hidroleca MCH-2005 AUT  Samsung SyncMaster  PaseoBebe.com  SKY LASER USER MANUAL  ELEKTRA 2000  FARO Laser Scanner Focus3D Users Manual  ACORNS User Manual - Southern Oregon University  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.