by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 18 20:56

    rsoika on master

    [maven-release-plugin] prepare … (compare)

  • Sep 18 20:56

    rsoika on imixs-workflow-5.2.5

    (compare)

  • Sep 18 20:56

    rsoika on master

    [maven-release-plugin] prepare … (compare)

  • Sep 18 20:48

    rsoika on master

    updated version microfile and m… (compare)

  • Sep 18 20:28
    rsoika edited #703
  • Sep 18 20:24
    rsoika closed #703
  • Sep 18 20:24
    rsoika edited #703
  • Sep 18 20:23
    rsoika edited #703
  • Sep 18 20:22
    rsoika closed #705
  • Sep 18 20:18
    rsoika labeled #703
  • Sep 18 20:18

    rsoika on master

    fixed Issue #703 (compare)

  • Sep 17 20:28
    rsoika commented #706
  • Sep 17 20:18
    rsoika commented #706
  • Sep 17 20:09
    rsoika commented #706
  • Sep 17 20:05
    rsoika labeled #706
  • Sep 17 20:05
    rsoika opened #706
  • Sep 17 17:08

    rsoika on master

    fixed pom version (compare)

  • Sep 17 13:30
    rsoika labeled #705
  • Sep 17 13:30

    rsoika on master

    fixed Issue #705 (compare)

  • Sep 17 13:28
    rsoika labeled #705
Ralph Soika
@rsoika
@Pooja-gupta1995 users in general should have only org.imixs.ACCESSLEVEL.AUTHORACCESS. Use the Owner plugin just to assign a task to a specific participant.
Pratik Kumar
@95pratik
@rsoika okay sir thank you for your reply..I am trying to figure out something hope it will work
lodhipr
@lodhipr
@rsoika : sir i need your help i am new with this software package , currently my all data are stored in one table as Document in mysql, but now i want that it should move concurrently in different tables in mysql which stores all the records in itself . Request for help please help me in resolving this query. I uses TomeePlus with my sql for data communication.
Ralph Soika
@rsoika
Note, you are developing a Java EE application. You can use for example JPA. There is absolutely no restriction. If you want to synchronize your data flow with your process flow than you can make use of the Imixs Plugin API. If you want to store data in a Database just do it.
Pooja Gupta
@Pooja-gupta1995
@rsoika can we rename global.properties file?
what are the changes then we have to made?
lodhipr
@lodhipr
@rsoika: Sir I have studied the provided document, but I don't get the mechanism please provide me a full descriptions of steps or process which I would follow to executes the data entry in my own database tables.
Pooja Gupta
@Pooja-gupta1995
@rsoika sir i have multiple swimlanes in my bpmn so what if i have given manager access to my login user and for some particular task i have ACL property to read only,
then which property will override?
lodhipr
@lodhipr
@rsoika : Sir i have designed one controller which can get data from tables directly. Please provide me a feedback does it work or not.
public class OWNController implements Serializable {
private static final long serialVersionUID = 1L;

@EJB
DocumentService documentSerivce;

public void init() {
    super.init();
    this.setQuery("<YOUR QUERY>");

    List<ItemCollection> col= documentSerivce.getDocumentsByQuery(query);

    for (ItemCollection aworkitem : col) {
        String sName = aworkitem.getItemValueString("<COLUMN NAME>");
        String sID = aworkitem.getItemValueString("<COLUMN ID");
        teamSelection.add(new SelectItem(sID, sName));
    }

        return teamSelection;
}
Pooja Gupta
@Pooja-gupta1995
@rsoika i am making my own BPMN and trying to connect my task with my jSF pages, so where should i mention that?
currently i am doing in (my task)->Application properties ->input form->Screen1.xhtml
is it right?
Ralph Soika
@rsoika
@rsoika can we rename global.properties file?
what are the changes then we have to made?
Yes of course. It's just a JSF sample application.
@rsoika i am making my own BPMN and trying to connect my task with my jSF pages, so where should i mention that?
currently i am doing in (my task)->Application properties ->input form->Screen1.xhtml
is it right?
yes this is right, you can select this input from the workitem property txtWorkflowEditorID . See the ApplicationPugin
@lodhipr I am not sure what you want to achieve with your controller. Take a deeper look into JPA and JSF spec.
Pooja Gupta
@Pooja-gupta1995

@rsoika "yes this is right, you can select this input from the workitem property txtWorkflowEditorID . See the ApplicationPugin"

i am unable to understand where to define my JSF pages and what is the use of Application plugin?

Pooja Gupta
@Pooja-gupta1995
@rsoika we have deleted the ticket.bpmn from sample application and delete command has run successfully but still UI is working fine ,i dont understand why i am not getting error in UI?
Ralph Soika
@rsoika
A model is internally cached. I think you need to restart the server once.
The applicaitonPlugin just offers you an editor id based on your model definition. It's up to you to make your JSF application use such an id. For example with ui:includes ....
lodhipr
@lodhipr
@rsoika : sir i just want to retrive data from my controller using sql queries , for this purpose i have designed this.
Pooja Gupta
@Pooja-gupta1995
@rsoika i am unable to understand the relation between bpmn and workflow controller?
till now my understanding is that, bpmn decides the flow according to the access rights and make you see the web pages according to your rights.
and in every web page there is some defined workflow controller for every component we use in our web pages to save our data using global.
so bpmn connected to User Interface and User Interface is connected to controller.
so how bpmn and controller are related?
Pooja Gupta
@Pooja-gupta1995
@rsoika where to find workitem property txtWorkflowEditorID?
lodhipr
@lodhipr
@rsoika : Sir i am in trouble, I want to retrive data from my table i have generated an issue in github with link. as :
Ralph Soika
@rsoika
@lodhipr see my reply on github
Pooja Gupta
@Pooja-gupta1995
@rsoika i have created bpmn with multiple lanes ,its loaded successfully with curl command ,i am using tomcat server and in the configuration file i have defined my user with their access but its not taking login from my user, is there any other place where i have to make changes?
can u tell the step by step process where and how to create multiple users in imixs sample application?
Ralph Soika
@rsoika
@Pooja-gupta1995 see the discussion on imixs/imixs-jsf-example#34
Emily Koranda
@ekoranda
Hello Ralph,
It looks like this forum hasn't been used since February, is it still a good place to ask questions about using imixs-workflow?
Ralph Soika
@rsoika
yes of course you can ask your questions here or open an issue on github.
Emily Koranda
@ekoranda

I am using Imixs-Workflow to build an application for managing proposals
for access to computing clusters. We will be using Tomcat TomEE 8.0 to
deploy the application. I have worked through the sample application and
have it running on my sandbox.

We would like to use custom or individual access roles with the
application. I have studied the page at

https://www.imixs.org/doc/deployment/security.html

and the details in the section "How to Define Individual Access Role"
but I do not understand precisely what I need to do. I have experience
with Java but I am not a Java EE expert.

To define a custom role do I need to define the role in the ejb-jar.xml
deployment descriptor? If so, do I need to define my own Java class and
what base class should I use?

I would be grateful for any pointers or other information you can
provide.

Ralph Soika
@rsoika
HI,
In principle, extra rolls are usually not necessary when you work with Imixs-Workflow engine. But it is necessary that you have at least defined the roles 'org.imixs.ACCESSLEVEL.AUTHORACCESS' and 'org.imixs.ACCESSLEVEL.MANAGERACCESS'. Did you succeed to install the JSF-Sample application? This gives you good hint how to deal with access. Let me know if the example is running on your environment.
Here you can also find a short description how to setup the Imixs-Workflow core access roles.
Emily Koranda
@ekoranda
image.png

Hello Ralph I am using Imixs to make a workflow in which a user creates a proposal which is reviewed by three reviewers. The proposal needs to be approved by at least 2 of the reviewers for the workflow to continue. I'm trying to diagram this workflow by using gateways. Above this post I attached a screenshot of my diagram.

I am using the result plugin on an event to set an item to the workitem using the code:

<item name="reviewer1" type="integer">0</item>

At this page: https://www.imixs.org/doc/engine/plugins/resultplugin.html I've read that you will be able to update properties of the current workitem using the result plugin.

Later I'm trying to use the rule plugin to write a conditional expression in an exclusive gateway however I am unsure how to access the item which I set to the workitem previously using the result plugin. Could you clarify how I'd be able to access the item made using the result plugin later in the workflow?

Ralph Soika
@rsoika
Gut question! I put your question and my answer into a new question-issue on Github. Please follow here: imixs/imixs-workflow#543
skoranda
@skoranda
Hello. Is it possible to log the details of the workitem so that one can see how it is evolving through the model?
Ralph Soika
@rsoika
Yes of course you can use the HistoryPlugin for this requirement
skoranda
@skoranda
Thanks. I will take a look at that. Cheers.
Emily Koranda
@ekoranda

Hello Ralph,

I am working on switching my version of Imixs from 4.5.0 to 5.0.2. However I am getting the error:

java.lang.NoClassDefFoundError: org/eclipse/microprofile/health/HealthCheck.

I am currently using apache-tommee-plus-8.0.0-M2. I have reviewed the pom.xml for the sample application for the version 5.0.0 and did not see any differences compared to my current pom.xml. Are there any changes necessary to pom.xml when building the new version?

Ralph Soika
@rsoika
Version 5.0 is based on Eclipse Microprofile. So you need an application server supporting microprofile. I know that Glassfish, Wildfly, OpenLibertry and Payara supporting Microprofile. But I am not sure for TomEE 8. Can you verify this?
Ralph Soika
@rsoika
It looks like that TomEE 8 supports microprofile 1.3. I will check this.
Ralph Soika
@rsoika
I tried to setup a docker container with TomEE 8M2 plume. But I had no success . In M2 the HelthCheck is missing. I am not so familiar with TomEE and do not now how to solve it. Maybe my deplyoment problem with M3 come from JDK 11......
Emily Koranda
@ekoranda

Hello Ralph thanks for checking. We have moved to wildfly 17. We were able to run the sample application version 5.0.0. Originally we were using the version 4.2.1 of the workflow engine and now we want to update to 5.0.2. However, when we tried updating to 5.0.2 the view in our sub_tasklist.xhtml was not showing up with all of the data. We're getting our data using this:

class="imixsdatatable" style="width:100%"
value="#{viewHandler.getData(proposalController)}" var="workitem">.

And using this to output the data:

<h:column>

<f:facet name="header">

<h:outputText value="Requester Name" />
</f:facet>

<h:link outcome="/pages/workflow/workitem">

<h:column>

<f:facet name="header">

<h:outputText value="Requester Email" />
</f:facet>

<h:outputText value="#{workitem.item['email']}" />
</h:column>

However no data is showing up using that code. Is there any changes from 4.2.1 to 5.0.2 that we need to change in order for this data to show up?

Ralph Soika
@rsoika
Yes maybe you need to rebuild the Lucene Index. Have you installed the Admin Client? There you have the option to rebuild the index (admin-p) and also to upgrade your existing data. But to sort this issue out - can you see the data of new created workitems in your application?
Also in Version 5.0 we introduced a new JSF controller technique which is much faster. Have you seen this?
Emily Koranda
@ekoranda
Thanks for your help. We have the sample application 5.0.0 and my application running in the same wildfly. We've also learned how to run the admin tool which is deployed in a different container but we are able to update and see workitems. We wanted to make sure we didn't have any corrupted data so we deleted all of our test data and created completely new databases however we are having the same problem. In the admin tool we can see that the data is there we just aren’t able to access it in the webpage with the code I mentioned above using a controller.
Ralph Soika
@rsoika
But did the sample application work? Can you create and view data there?
Ralph Soika
@rsoika
The question is which query did define your proposalController? Take a look at the jsf-example class 'TasklistController'
Emily Koranda
@ekoranda
Hello Ralph. I am able to create and view data in the sample application. My proposalController is identical to TasklistController I just changed the name of it. I am able to view the workflow data that starts with '$', however none of the workflow data that I manually added to the workflow by using the code: value="#{workflowController.workitem.item['email']}".
Ralph Soika
@rsoika
but this sounds that even in the admin client you can not see the item 'email' - right?
Emily Koranda
@ekoranda
In the admin client I can see the item 'email'. And I can also see the data in new created workitems.