0% found this document useful (0 votes)
236 views

SOA & BPM - Groovy Script in Script Task in Oracle BPM

This document discusses using Groovy scripts in script tasks in Oracle BPM. It provides examples of using if/else statements and switch cases in Groovy scripts to control workflow without using multiple gateways. The author explains how to add a Groovy script to a script activity by clicking "Go To Script" and provides sample Groovy code for conditional logic. A link is included to download a sample project demonstrating this feature of Oracle BPM 12c.

Uploaded by

naveen1249
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
236 views

SOA & BPM - Groovy Script in Script Task in Oracle BPM

This document discusses using Groovy scripts in script tasks in Oracle BPM. It provides examples of using if/else statements and switch cases in Groovy scripts to control workflow without using multiple gateways. The author explains how to add a Groovy script to a script activity by clicking "Go To Script" and provides sample Groovy code for conditional logic. A link is included to download a sample project demonstrating this feature of Oracle BPM 12c.

Uploaded by

naveen1249
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

11/18/2017 SOA & BPM: Groovy script in Script Task in Oracle BPM

More Next Blog» Cre

SOA & BPM

Tuesday, July 29, 2014 About Me

Vinod Kandukuri
Groovy script in Script Task in Oracle BPM Follow 192

Groovy script in ScriptTask/Activity in Oracle BPM I'm what I'm


View my complete profile
As specified in my previous post , you can add groovy script for a script activity in Oracle BPM 12c.
Blog Archive
Using this, you can easily use if else, nested if, switch case etc, in ScriptActivity.
▼ 2014 (8)
You can avoid using multiple gate-ways in the flow by adding all the necessary conditions in groovy
► December (1)
scripts.
► September (1)
In this example I will show a simple if else and a switch case. ▼ July (1)
Groovy script in Script Task in Oracl
BPM
You will see a new option "Go To Script" in BPM Process script activity. On clicking this, you will be
► June (1)
shown a page where you can add your groovy script based on your use-case.
► May (1)
► April (2)
► March (1)

Adding couple of sample scripts here:

http://kvkvinod.blogspot.in/2014/07/groovy-script-in-script-task-in-oracle.html 1/2
11/18/2017 SOA & BPM: Groovy script in Script Task in Oracle BPM

The use-cases above are self explanatory, you could add multiple conditions based on your needs.

Shoot me in the comments, if you need any help regarding this.

Sample project can be downloaded from here

Follow the blog to get to know about new features in Oracle BPM 12c.

Posted by Vinod Kandukuri at 1:01 AM

Labels: BPM, Conditional Assign in SOA, Conditional Script task in BPM., Gateways in BPM, Groovy, Groovy Script in BPM,
GroovyScript, Oracle BPM 12c, Oracle BPM 12c Features

No comments:

Post a Comment

Enter your comment...

Comment as: Select profile...

Publish Preview

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Simple theme. Theme images by luoman. Powered by Blogger.

http://kvkvinod.blogspot.in/2014/07/groovy-script-in-script-task-in-oracle.html 2/2

You might also like