Code Monkey home page Code Monkey logo

camunda-consulting / camunda-7-code-examples Goto Github PK

View Code? Open in Web Editor NEW
597.0 597.0 1.0K 123.75 MB

Examples and demo applications built by the camunda consulting team

Home Page: http://camunda.org

License: Apache License 2.0

Java 46.02% HTML 5.21% CSS 4.32% JavaScript 43.53% FreeMarker 0.01% Shell 0.06% Vue 0.06% TypeScript 0.15% Dockerfile 0.03% XSLT 0.01% Python 0.01% C# 0.02% Makefile 0.01% Scala 0.01% SQLPL 0.21% Less 0.01% SCSS 0.35%

camunda-7-code-examples's Introduction

Camunda Consulting Examples

This repository contains examples, code snippets and demo applications build by the Camunda Consulting Team or contributors. Note: All examples are only tested manually and there is no guarantee that they are actively maintained. If you search for officially maintained examples go to https://github.com/camunda/camunda-bpm-examples.

Type of Example Description
Snippets Code snippets for particular technical issues. The code is not maintained and might be out-of-date.
One-time Examples Examples created once for a specific event (like a conference or a magazine article). The code is not maintained and might be out-of-date.

Please add a README.md with a short project description and how to use it whenever you add a new snippet or example.

camunda-7-code-examples's People

Contributors

bastianbentfeld avatar benhoffmann avatar berndruecker avatar celanthe avatar chcbz avatar falko avatar felix-mueller avatar hawky-4s- avatar ingorichtsmeier avatar jakobfreund avatar janaesch avatar jangalinski avatar jonathanlukas avatar lucascalsilva avatar manueldittmar avatar mcalm avatar meyerdan avatar nevries avatar nikku avatar npdeehan avatar patozgg avatar plungu avatar polenz avatar rafacm avatar rob2universe avatar ryanfoust avatar shaarmann avatar spiff02 avatar superbeagle avatar till-stadtler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camunda-7-code-examples's Issues

cockpit-plugin-reporting does not compile

The cockpit-plugin-reporting plugin cannot be compiled.

The exception is

[INFO] Compiling 4 source files to .\camunda-bpm-examples\cockpit-plugin-reporting\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] .\camunda-bpm-examples\cockpit-plugin-reporting\src\main\java\org\camunda\bpm\demo\cockpit\plugin\reporting\resources\ReportingPluginRootResource.java:[22,9] error: cannot find symbol
[ERROR] .\camunda-bpm-examples\cockpit-plugin-reporting\src\main\java\org\camunda\bpm\demo\cockpit\plugin\reporting\resources\ReportingPluginRootResource.java:[23,27] error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------

The underlaying problem is that the class DemoDataGeneratorResource is not contained in the example.

Not compiling

Did mvn clean install.

Errors:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building camunda-webapp-sso-demo 0.0.1
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.5.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.467 s
[INFO] Finished at: 2016-09-06T18:46:42+05:30
[INFO] Final Memory: 6M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project camunda-webapp-sso-demo: Could not resolve dependencies for project com.camunda.demo.webapplogin:camunda-webapp-sso-demo:jar:0.0.1: Failure to find org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.5.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Invoice demo application "missing" DMN files

I am new to all of this technology so forgive me if I have missed something obvious.
Your last update comment said you added missing DMN files to the Showcase -> English -> Invoice application. I assume that I should see actual files in the folder as I see them in the Insurance folder. However, there are none present.
The current Camunda 7.4.0-alpha3-ee bundle that I have installed has what I assume is a pre-loaded example of this application. I am trying to figure out how to use DMN and this seems like a good example to use, but without the DMN table (file) attached, I'm not sure I'm looking at the right thing.
Please help my ignorance because DMN support is critical to my project.
Thank you.

Update rename-technical-ids-plugin

The dev-dependencies of the plugin are quite outdated. More current versions should be used, e.g.:

  "devDependencies": {
    "bpmn-js": "^8.2.0",
    "browserify": "^17.0.0",
    "camunda-modeler-plugin-helpers": "^2.1.0",
    "inherits": "^2.0.4",
    "lodash": "^4.17.20",
    "min-dom": "^1.0.0",
    "diacritics": "^1.3.0",
    "watchify": "^4.0.0"
  }

Custom query - deserializing variables

What is the best way to handle deserializing all types of variables?
The docs

https://docs.camunda.org/manual/7.5/examples/tutorials/custom-queries/#custom-mybatis-queries

for custom queries refer to code that is no longer present and while the new code is alot more concise than what was there previously its still set up to assume simple string variables.

I'd attempted to recreate what the code does to fetch variables by case execution, mapping the variable fields onto VariableInstanceEntity and querying this object via

getTypedValue(true);

However this fails as in TypedValueField when requesting the VariableSerializer it fail as there is no command context

 public static VariableSerializers getSerializers() {
    if (Context.getCommandContext() != null) {
     ....
    } else {
      throw LOG.serializerOutOfContextException();
    }
  }

It would seem more correct to go this way to recreate the variables since I'm not familiar with the db structure for the ACT_RU_VARIABLE table (and it has lots of different value columns) and the deserialization would work well for complex types etc.

The old code would have created the command context I believe, whats the correct way to go about executing custom queries from within a command context as of v7.5?

Cannot access camunda rest api from angular

I got the code running in angular 7. It is also able to hit the rest controller I created and deployed in the camunda springboot container.
But I am not able to hit the camunda rest api from my angular app. All running locally.
There is some setting somewhere that to is preventing this. Can you help me
Thank you for your help and support.

springboot-customized-webapps always brings up errors

If I ever use a customized webjar with spring security, Camunda always throw the error:

Caused by: javax.servlet.ServletException: Could not read security filter config file '/securityFilterRules.json': no such resource in servlet context.
	at org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoadingSecurityFilter.loadFilterRules(ResourceLoadingSecurityFilter.java:45) ~[camunda-bpm-spring-boot-starter-webapp-core-7.18.0.jar:7.18.0]
	at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.init(SecurityFilter.java:93) ~[camunda-webapp-7.18.0-classes.jar:7.18.0]
	at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.lazyInit(LazyDelegateFilter.java:46) ~[camunda-bpm-spring-boot-starter-webapp-core-7.18.0.jar:7.18.0]
	... 22 common frames omitted

Or if I try to update to version 7.18 I get:

Unresolved plugin: 'org.codehaus.mojo:license-maven-plugin:1.14'

Problems with Box.com Invoice Demo on Tomcat

I try to setup the Box.com demo and followed the instructions, but cannot get it to work properly.

Using Camunda BPM 7.8.0 CE (latest available CE I downloaded today).

I created a box.com app (actually, I tried with two: a custom app and a partner app, because I wasn't sure if it makes a difference.) using OAuth2.0 with JWT.

image

image

I configured the config.properties and saved the private_key.pem that I got from the box.com app admin interface, then built the camunda-example-invoice-box app with maven, which built the war file just fine, and deployed it. (I tried with both approaches: deploying the war file, and also deploying the exploded folder under the target directory.)

When going into the Camunda Tasklist, I do see the box window, but there are some issues:

  1. the icon b.png is missing

  2. clicking on the "Open Box Folder" doesn't do anything, and I am not sure what the html/target should look like, or if there is a click event handler supposed to be associated with this link. All that happens is that the same Camunda windows re-opens again in a new browser tab. But not box folder in sight.
    I noticed that the <a> has on href nor id. Not sure if this is supposed to be like that.

image

Unable to build WAR file

Hi, I'm trying to build this project. "mvn clean install" gives me:

[INFO] Scanning for projects...
Downloading: https://app.camunda.com/nexus/content/groups/public/org/camunda/bpm/camunda-bom/7.5.3-ee/camunda-bom-7.5.3-ee.pom
Downloading: https://repo.maven.apache.org/maven2/org/camunda/bpm/camunda-bom/7.5.3-ee/camunda-bom-7.5.3-ee.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.camunda.bpm:camunda-bom:pom:7.5.3-ee in camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public) @ line 28, column 19
[ERROR] 'dependencies.dependency.version' for org.camunda.bpm:camunda-engine:jar is missing. @ line 46, column 14
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.camunda.consulting.cockpit.plugin:kpioverview:1.0-SNAPSHOT (C:\Users\me\Desktop\KPI\camunda-consulting-master\snippets\camunda-kpi-monitoring-demo\plugin\cockpit-kpi-overview-plugin\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Could not find artifact org.camunda.bpm:camunda-bom:pom:7.5.3-ee in camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public) @ line 28, column 19 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.camunda.bpm:camunda-engine:jar is missing. @ line 46, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

What can be wrong?

SSO and saving users in Camunda DB.

Hello! Related to Spring Security Camunda
I have a question about SSO. In regards for the case when SSO is working, but for this case, users don't save into Camunda database. After authentication logs show us warning about it.

It's good to save the data into the User database.
How do you think, how can it be implemented?

Bug in generic form example.

https://github.com/camunda-consulting/code/blob/4a62d4b44efb126b50f22a6f17273c7c98f8b6da/snippets/camunda-tasklist-examples/camunda-react-app/src/components/GenericForm.js#L6

ร—
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of GenericForm.

new module: camunda-testing-examples

Since the testing (assert/needle/mockito/jbehave) stack is becoming stable, we should join forces and provide a complete example revealing the beauty of the test-extensions combined.

How to use springboot-customized-webapp with gradle?

Hi,
I am currently trying to translate the pom.xml to a build.gradle, but I am not sure how to transfer the plugin parts.
Is there already somewhere a springboot customized webapp implemented with gradle?
Thank you :)
Kind regards,
Marvin

Unable to deploy the example

Hello, I am trying to deploy the external task example and getting error as

{"type":"RestException","message":"Cannot instantiate process definition video-publishing:1:1575d1f9-fd76-11e6-9a7f-fc4dd43e6964: no decision definition deployed with key 'fileSizeCheck' and tenant-id 'null': decisionDefinition is null"}

Can anyone please tell what i am doing wrtong. Thanks

Not able to Create Service as default

Hi @benhoffmann ,
I am getting error while project run as
Screenshot from 2019-07-19 13-18-34

Caused by: org.camunda.bpm.engine.exception.NullValueException: Cannot stop service org.camunda.bpm.platform.process-engine:type=default: no such service registered: service is null
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na]
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[na:na]
	at org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:380) ~[camunda-engine-7.10.0.jar:7.10.0]
	at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:54) ~[camunda-engine-7.10.0.jar:7.10.0]
	at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:49) ~[camunda-engine-7.10.0.jar:7.10.0]

Error thrown when using popupMenu for bpmn-js-plugin-reduced-palette Plugin

When I use the plugin and I drop an element on the canvas, the following error occurs:

TypeError: popupMenu.create is not a function
    at CustomContextPadProvider.ContextPadProvider.getContextPadEntries (file:///C:/ProgramFiles/Camunda/camunda-modeler/plugins/bpmn-js-plugin-reduced-palette/client/client-bundle.js:528:29)
    at wrapper (file:///C:/ProgramFiles/Camunda/camunda-modeler/plugins/bpmn-js-plugin-reduced-palette/client/client-bundle.js:6519:15)
    at CustomContextPadProvider.getContextPadEntries (file:///C:/ProgramFiles/Camunda/camunda-modeler/plugins/bpmn-js-plugin-reduced-palette/client/client-bundle.js:55:19)
    at file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:45203:22
    at forEach (file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:144510:20)
    at ContextPad.getEntries (file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:45202:24)
    at ContextPad._updateAndOpen (file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:45270:22)
    at ContextPad.open (file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:45265:8)
    at file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:45154:12
    at invokeFunction (file:///C:/ProgramFiles/Camunda/camunda-modeler/resources/app.asar/public/index.js:41925:13)  [error]

Move rename-technical-ids-plugin to camunda-modeler-plugins

This plugin supports camunda best practices and is a really helpfull addition to the modeler. Therefore it should be placed side by side with other plugins.

Furthermore it is referenced from the plugins-repo and even its own source code refers to the plugins-repo as its homepage:

package.json:
"homepage": "https://github.com/camunda/camunda-modeler-plugins#readme",

SpringBoot Customized WebApp Welcome Page

Hi, i tried to copy the code from cockpit, admin and tasklist examples, doing some updates to customize the welcome page, and it`s loading forever... i can access the other applications well, but would be interesting to update this repository to show the example to the welcome page

approve variable is null when checkbox not checked

In the tasklist react example, if you don't check the 'approve' checkbox, its value is not false, but the variable is discarded.

dirty Fix:

Add values['variables']['approved'] = values['variables']['approved'] || { value: false }
to completeTask in
code/snippets/camunda-tasklist-examples/camunda-react-app/src/actions/camunda-rest/task.js

Add a license file to the repo?

Could you perhaps provide a license file for this repository that explains how the code can be reused?

I would like to use one of the showcases processes (this one: https://github.com/camunda/camunda-consulting/tree/master/showcases/bank-account-opening-error-handling) for an academic paper as a simple example for an executable BPMN process. I would depict the process in the paper and then compute a structural code metric for the process. The purpose of the paper is to propose this metric. I would cite Camunda as authors of the process and provide a link to this repository in the paper, of course. Is this ok for you?

Thanks a lot!

camunda-example-invoice-cmis: Logic issue "The case execution is already in state 'completed'."

I think there is some logic issue in the workflow of the camunda-example-invoice-cmis:

  1. Start Process: > create a new "Inovice Receipt CMIS" process, claim the task for yourself
  2. Approve Invoice: > do NOT check "Do you approve" > click 'Complete'
  3. Assign Reviewer: > Assign to yourself / demo > click 'Complete'
  4. Review Invoice: > check "Could you clarifiy the invoice" > click 'Complete'

An error message appears:

An error happend while submitting the task form :
Cannot submit task form 3d5c5eb4-02c0-11e8-aeba-cc3d82aa16df: ENGINE-05010 Could not perform transition 'complete on case execution with id '34d4af39-02c0-11e8-aeba-cc3d82aa16df'.Reason: The case execution is already in state 'completed'.

image

Environment:

  • camunda-bpm-wildfly10-7.8.0
  • Ubuntu Gnome 17.10
  • chemistry-opencmis-server-inmemory-1.1.0

Error Log:

2018-01-30 15:49:11,222 ERROR [org.camunda.bpm.engine.context] (default task-4) ENGINE-16004 Exception while closing command context: ENGINE-05010 Could not perform transition 'complete on case execution with id 'b2ac665a-05cc-11e8-a447-0a0027000000'.Reason: The case execution is already in state 'completed'.: org.camunda.bpm.engine.exception.cmmn.CaseIllegalStateTransitionException: ENGINE-05010 Could not perform transition 'complete on case execution with id 'b2ac665a-05cc-11e8-a447-0a0027000000'.Reason: The case execution is already in state 'completed'.
	at org.camunda.bpm.engine.impl.cmmn.behavior.CmmnBehaviorLogger.isAlreadyInStateException(CmmnBehaviorLogger.java:165)
	at org.camunda.bpm.engine.impl.cmmn.behavior.PlanItemDefinitionActivityBehavior.ensureTransitionAllowed(PlanItemDefinitionActivityBehavior.java:226)
	at org.camunda.bpm.engine.impl.cmmn.behavior.StageOrTaskActivityBehavior.onManualCompletion(StageOrTaskActivityBehavior.java:103)
	at org.camunda.bpm.engine.impl.cmmn.operation.AtomicOperationCaseExecutionManualComplete.triggerBehavior(AtomicOperationCaseExecutionManualComplete.java:29)
	at org.camunda.bpm.engine.impl.cmmn.operation.AbstractAtomicOperationCaseExecutionComplete.eventNotificationsStarted(AbstractAtomicOperationCaseExecutionComplete.java:43)
	at org.camunda.bpm.engine.impl.cmmn.operation.AbstractAtomicOperationCaseExecutionComplete.eventNotificationsStarted(AbstractAtomicOperationCaseExecutionComplete.java:33)
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:41)
	at org.camunda.bpm.engine.impl.cmmn.operation.AbstractCmmnEventAtomicOperation.execute(AbstractCmmnEventAtomicOperation.java:26)
	at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:145)
	at org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity.performOperationSync(CaseExecutionEntity.java:863)
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
	at org.camunda.bpm.engine.impl.cmmn.operation.AbstractCmmnEventAtomicOperation.execute(AbstractCmmnEventAtomicOperation.java:26)
	at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:145)
	at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:134)
	at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:132)
	at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44)
	at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:114)
	at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:125)
	at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:192)
	at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:132)
	at org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity.performOperation(CaseExecutionEntity.java:858)
	at org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution.manualComplete(CmmnExecution.java:986)
	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:289)
	at org.camunda.bpm.engine.impl.cmd.SubmitTaskFormCmd.execute(SubmitTaskFormCmd.java:74)
	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
	at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:58)
	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
	at org.camunda.bpm.engine.impl.FormServiceImpl.submitTaskForm(FormServiceImpl.java:86)
	at org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl.submit(TaskResourceImpl.java:115)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
	at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)
	at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:107)
	at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:133)
	at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:41)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilterSecure(SecurityFilter.java:67)
	at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilter(SecurityFilter.java:51)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:59)
	at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:56)
	at org.camunda.bpm.webapp.impl.security.SecurityActions.runWithAuthentications(SecurityActions.java:38)
	at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

ReadMe of Customize the Camunda Webapps in Spring Boot

Hello,

The ReadMe file of https://github.com/camunda-consulting/code/tree/master/snippets/springboot-customized-webapps is not updated after 7.10 changes with the correct path:

Possibly addionally adjust the contents of springboot-customized-webapp-webjar/src/main/resources/META-INF/resources/app/{tasklist|cockpit|admin}/{styles|scripts}/

must be
springboot-customized-webapp-webjar/src/main/resources/META-INF/resources/webjars/camunda/app/{tasklist|cockpit|admin}/{styles|scripts}/

Best regards,
Yana

datePattern attribute on date form field type in embedded forms is not configurable (defaulted to dd/MM/yyyy)

datePattern attribute on date form field type in embedded forms is not configurable (defaulted to dd/MM/yyyy)

Camunda engine can accept datePattern as an attribute: https://docs.camunda.org/javadoc/camunda-bpm-platform/7.3/org/camunda/bpm/engine/impl/form/type/DateFormType.html#datePattern

currently this is using default value: https://github.com/camunda/camunda-bpm-platform/blob/612392da7856476ef14bd82bebcc7a543652e130/engine/src/main/java/org/camunda/bpm/engine/impl/form/engine/HtmlFormEngine.java#L124

Color Picker Plugin does not work with Camunda Modeler 5.0

When selecting an Activity in the Modeler 5.0, I get the following error:

[../invoice.v1.bpmn] Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472
    at s.get (webpack:///node_modules/bpmn-js/lib/util/CompatibilityUtil.js:69:14)
    at Object.ColorPlugin._getColor (file:///Users/mpa/Library/Application%20Support/camunda-modeler/plugins/bpmn-js-plugin-color-picker/client/client-bundle.js:29:24)
    at file:///Users/mpa/Library/Application%20Support/camunda-modeler/plugins/bpmn-js-plugin-color-picker/client/client-bundle.js:19:39
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:57423
    at listener (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:371:33)
    at _invokeListener (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:352:23)
    at _invokeListeners (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:313:23)
    at fire (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/features/selection/Selection.js:106:17)
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:121700
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:57423 [ error ]
This error may be the result of a plug-in compatibility issue. [ info ]
[Disable plug-ins (restarts the app)](https://github.com/camunda-consulting/camunda-7-code-examples/issues/new#) [ info ]

Removing the Color Picker solves that error.

bpmn-io/bpmn-js#1472 describes the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.