[jboss-jira] [JBoss JIRA] (DROOLS-4481) [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX

Guilherme Gomes (Jira) issues at jboss.org
Mon Aug 26 17:21:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Gomes updated DROOLS-4481:
------------------------------------
    Description: 
*Requirement*

It should be possible to generate data types from imported data models (java classes).

---

*Current scenario*

Currently, users can create Data Objects on Business Central. See:

 !2019-08-26 17.48.30.gif|width=600! 

However users cannot re-use Data Objects as Data Types.

---

*Description*

Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
 !Screen Shot 2019-08-26 at 18.11.01.png|width=600! 

---

*Questions to clarify at requirement level*

1) Some DOs can be quite complex and some fields can be impossible to guess.

- Person
	-- name (Some strange type)
	-- age (Integer)

What should we do? Import name as "Any"? Remove the name field? Or block the Person type?


2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?

  was:
*Requirement*

It should be possible to generate data types from imported data models (java classes).

---

*Current scenario*

Currently, users can create Data Objects on Business Central. See:

 !2019-08-26 17.48.30.gif|width=600! 

However users cannot re-use Data Objects as Data Types.

---

*Description*

Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
 !Screen Shot 2019-08-26 at 18.11.01.png|width=600! 

---

*Questions to clarify at requirement level*

1) Some DOs can be quite complex and some fields can be impossible to guess.

- Person
	-- name (Some strange type)
	-- age (Integer)

What should we do? Import name as "Any"? Remove the name field? Or block the Person type?


2) Do we need a specific component do import Data Objects as Data Types? Can we just Data Objects in the type dropdown in a different category (Default, Custom Data Types, Data Objects)?



> [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
> ------------------------------------------------------------------------------
>
>                 Key: DROOLS-4481
>                 URL: https://issues.jboss.org/browse/DROOLS-4481
>             Project: Drools
>          Issue Type: Task
>          Components: DMN Editor
>            Reporter: Guilherme Gomes
>            Assignee: Elizabeth Clayton
>            Priority: Major
>              Labels: drools-tools
>         Attachments: 2019-08-26 17.48.30.gif, Screen Shot 2019-08-26 at 18.11.01.png
>
>
> *Requirement*
> It should be possible to generate data types from imported data models (java classes).
> ---
> *Current scenario*
> Currently, users can create Data Objects on Business Central. See:
>  !2019-08-26 17.48.30.gif|width=600! 
> However users cannot re-use Data Objects as Data Types.
> ---
> *Description*
> Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
>  !Screen Shot 2019-08-26 at 18.11.01.png|width=600! 
> ---
> *Questions to clarify at requirement level*
> 1) Some DOs can be quite complex and some fields can be impossible to guess.
> - Person
> 	-- name (Some strange type)
> 	-- age (Integer)
> What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
> 2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list