Posts

Persistent Data

If you have an application that needs persistent data, i.e. data that needs to be stored for further use, the data needs to be  somewhere. Data could be needed if you want to rework on a work object by taking it from the work list. Eg. You may be working on a work object, close the browser because of some issues and then want to resume from where you left. For this purpose data needs to be stored somewhere. All important data associated with a work object can be stored in pages inside pyWorkpage. Another option that is available is to store the data in data pages While most applications require persistent data, applications that have reporting and SLAs will definitely require.  For all kind of applications page structure is important. Without a page structure, development should never begin. While what has been written is very trivial for most developers, this is the reason why a project where I worked hit a major roadblock. What are the different kinds of pages and what s...

Writing data transforms

Data transforms have 4 fields- Action, Target, Relation and Source which can be used as per the scenario. Data transforms can be used for the following: Set values for properties Update a page Remove a page Apply another data transform To check for conditions ( When, otherwise when and when) Looping through pages The usage is not limited to these. They can be used for adding comments and sorting though I have not worked on them. If you are trying to use an activity only for the above mentioned scenarios, it is best to use data transforms instead.

Making flow actions and UI

Things to do if you want to show a screen The first thing we need for showing a screen is a layout. Layout comes inside a section Section comes inside a harness Harness is shown through flow action Flow action is configured only from an assignment shape An assignment shape requires a flow A flow requires a start and end shape. Hence, to show a screen, start from a flow and proceed backwards from this list.