How to change the task definition type of a particular task in Camunda 8 modular?

How to change the task definition type in the properties panel of a particular task in Camunda 8 modular?

I had already defined a task type, but I need to change it and I don’t see a that option in properties panel

Hey @Harsha_Johny! Welcome to the Camunda Forum :wave: :confetti_ball:

A few questions to start with:

  • Are you using C8 SaaS of the Desktop Modeler?
  • Have your selected the activity in which you have defined the task type?
  • Have you selected the “implement” mode in case you are using SaaS (see picture below)
    image
  • In case you are using the Desktop Modeler: Have you opened the panel with this little arrow on the right side of the window?
    image

Hopefully one of these options helps you to change the task type again. :slight_smile:
Best,
Thomas

Hi, I am using a SaaS version.
I couldn’t change the task definition type of a user task.
I had another doubt too.
On trying to deploy my workflow, I am receiving the following error can you please help me resolve it.
Command ‘CREATE’ rejected with code ‘INVALID_ARGUMENT’: Expected to deploy new resources, but encountered the following errors:
‘Latest Version.bpmn’: - Element: Flow_0ds74sv > conditionExpression

  • ERROR: failed to parse expression ‘No Interim Emergency’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:4, found “Interim Em”
  • Element: Flow_0ep9tp5 > conditionExpression
    • ERROR: failed to parse expression ‘No Emergency/priority’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:4, found “Emergency/”
  • Element: Flow_0yht06n > conditionExpression
    • ERROR: failed to parse expression ‘Normal Final Report’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:8, found “Final Repo”
  • Element: Flow_0r2w9lp > conditionExpression
    • ERROR: failed to parse expression ‘Final Report Priority’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:7, found “Report Pri”
  • Element: Flow_16jo3ww > conditionExpression
    • ERROR: failed to parse expression ‘Interim Report’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:9, found “Report”
  • Element: Flow_0nif80n > conditionExpression
    • ERROR: failed to parse expression ‘Interim Emergency’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:9, found “Emergency”
  • Element: Flow_00baecq > conditionExpression
    • ERROR: failed to parse expression ‘No Interim Report’: Expected (binaryComparison | between | instanceOf | in | “and” | “or” | end-of-input):1:4, found “Interim Re”
      [ deploy-error ] 31/5/2023 12:43:7

That won’t work. A user task does not have any task definition type. These are only valid for service tasks, message send tasks and a couple of events.

That means that you have not specified any expression in your gateway. :slight_smile:


By selecting the outgoing sequence flow of an exclusive gateway you can specify the condition expression. :slight_smile:

1 Like

Thank You.

Can you help me rectify this error:

This is happening when I try to add a condition expression to the highlighted path.
The condition I have added is :
interimrepconditionExpression=“interimreport_checked == ‘No’”

Hi @Harsha_Johny - the expression in that field needs to a FEEL expression, and your expression isn’t valid FEEL syntax, so that’s why you’re getting that error.

If you remove the var keyword, that expression would be checking if the variable interimrepconditionExpression is set to the string value "interimreport_checked == 'No'". For your gateway, the condition should be interimreport_checked = "No". This expression will return true if the variable interimreport_checked is set to the string value “No”.

I found FEEL a little confusing at first, but our docs do a pretty good job introducing FEEL and I’d recommend giving those a quick read. There is also a fantastic FEEL playground you can use to test your expressions.

1 Like