Discussion:
[jboss-user] [jBPM] - Business Process has a Task Form attached?
Chetan Shinde
2013-01-15 14:31:15 UTC
Permalink
Chetan Shinde [https://community.jboss.org/people/chetansh] created the discussion

"Business Process has a Task Form attached?"

To view the discussion, visit: https://community.jboss.org/message/792022#792022

--------------------------------------------------------------
Hello,

How can I identify via code if a Business Process has a Form attached to it?

Regards,
Chetan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792022#792022]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Tihomir Surdilovic
2013-01-18 21:25:45 UTC
Permalink
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Business Process has a Task Form attached?"

To view the discussion, visit: https://community.jboss.org/message/792859#792859

--------------------------------------------------------------
The process and task form file names follow structure:
process form: <process-id>-taskform.ftl
tFe
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792859#792859]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Chetan Shinde
2013-01-22 09:18:26 UTC
Permalink
Chetan Shinde [https://community.jboss.org/people/chetansh] created the discussion

"Re: Business Process has a Task Form attached?"

To view the discussion, visit: https://community.jboss.org/message/793429#793429

--------------------------------------------------------------
So you are saying if there is a ftl form with the name Humantask.ftl which is attached to Human task Node in the Business Process.

Will this be present in Guvnor under the name Humantask-taskform.ftl. So i will have to check in Guvnor for the same? Please correct me if I am wrong.

I dont understand the scenario for <process-id>-taskform.ftl. Where will I have an FTL file attached for the entire process?

Anyways thanks for your time and help.

Regards,
Chet
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/793429#793429]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Tihomir Surdilovic
2013-01-22 13:06:16 UTC
Permalink
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Business Process has a Task Form attached?"

To view the discussion, visit: https://community.jboss.org/message/793512#793512

--------------------------------------------------------------
You have the process form (shown for example when your process execution starts) and human task forms. Currently the processid attribute you set in the process properties and the taskName attributes you set on tasks control the name of the forms that should exist either in your Guvnor repostiroy (if you are using Guvnor) or in your classpath. Those are not "attached" to your process definition (do not become part of the BPMN2) so in order to see if your process has a task form defined and/or if your human tasks have their task forms defined you would have to determine the file name first with the above mentioned rules, and then check either in your repository or on classpath if it exists or not.

If you generate your forms in Designer, yes, as you mentioned the form files will be created and uploaded into Guvnor for you.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/793512#793512]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...