Discussion
Habber Tec
BR
Last activity: 6 May 2016 14:49 EDT
Section field doesn't appear on screen
Hello,
I'm new with Pega and I'm doing System Architect Essentials I and II courses.
I'm trying to do a extreme simple case with one stage, one step. Here are the steps that I followed.
1) Create a new application (Implementation Only)
2) Create new data object type called "Person" with name, document, phone properties inside RMO-RanieriT-Data class
3) Create a new section to "Person" data object type called "Create Person" inside RMO-RanieriT-Data-Person class
4) Create a new flow action to "Create Person" section called "Create Person" inside RMO-RanieriT-Data-Person class
5) Create new case type called "Register Person" with one stage and one step
6) Configured flow action of the first step as CreatePerson and tried to run the case.
When running it, it shows that fisrt step doesn't have a form and ask if I want to create a new one.
What more do I have to do to make this simple example work and show the section I've created in the first step?
Thanks
Assuming that you have some case type with class name RMO-RanieriT-Work-SomethingSomething.
Case type SomethingSomething has a flow with an Assignment.
At that Assignment you have a "CreatePerson" flow action that references a section named "CreatePerson" .
Also assuming that the Applies-To class of this "CreatePerson" flow action is RMO-RanieriT-Work-SomethingSomething.
But the Applies-To class of your "CreatePerson" Section is RMO-RanieriT-Data-Person.
You cannot draw a Section unless it has a page.
What can do is have the pre-Activity of the RMO-RanieriT-Work-SomethingSomething-implemented "CreatePerson" flow action "Page-New" a page, say one named "Person", of class RMO-RanieriT-Data-Person then configure the "CreatePerson" flow action to source the "Person" page when displaying the "CreatePerson" flow action,
You can also define a "CreatePerson" Section in RMO-RanieriT-Work-SomethingSomething that includes the RMO-RanieriT-Data-Person "CreatePerson" Section.
When you do the "Section include" you need to specify the underlying page ("Person") and applies-to class ("RMO-RanieriT-Data-Person") plus the name of the Section to draw ("CreatePerson").
A Page can also be an embedded Page Property such as ".Person".
Since this is an embedded page, you can construct it within your pyDefault transform simply by setting a value such as: .Person.pyLabel = "Person".
Assuming that you have some case type with class name RMO-RanieriT-Work-SomethingSomething.
Case type SomethingSomething has a flow with an Assignment.
At that Assignment you have a "CreatePerson" flow action that references a section named "CreatePerson" .
Also assuming that the Applies-To class of this "CreatePerson" flow action is RMO-RanieriT-Work-SomethingSomething.
But the Applies-To class of your "CreatePerson" Section is RMO-RanieriT-Data-Person.
You cannot draw a Section unless it has a page.
What can do is have the pre-Activity of the RMO-RanieriT-Work-SomethingSomething-implemented "CreatePerson" flow action "Page-New" a page, say one named "Person", of class RMO-RanieriT-Data-Person then configure the "CreatePerson" flow action to source the "Person" page when displaying the "CreatePerson" flow action,
You can also define a "CreatePerson" Section in RMO-RanieriT-Work-SomethingSomething that includes the RMO-RanieriT-Data-Person "CreatePerson" Section.
When you do the "Section include" you need to specify the underlying page ("Person") and applies-to class ("RMO-RanieriT-Data-Person") plus the name of the Section to draw ("CreatePerson").
A Page can also be an embedded Page Property such as ".Person".
Since this is an embedded page, you can construct it within your pyDefault transform simply by setting a value such as: .Person.pyLabel = "Person".