Setting the Title of Issues with Auto-processing Script

Tuesday, July 22, 2014
"Non-programming"... It is still a hot keyword in the industry of Business System, as ever.
  • A. No need of programming knowledge
  • B. Need programming knowledge

What I mean is not using programming languages such as Java or Python or Ruby, however, there are needs for building an IT environment that is innovative and suits themselves.

It may be a rough parable, but it is like an argument over "A. should wear the clothes off-the-shelf with altering?" or "B. should make fully made-to-order clothes?". There are advantages and disadvantages to both methods, and the method to be adopted is different depending on the IT the environment to be demanded, and the skill of the operator.

Now, in the following Business Process definition, a Step called [Script Task] that is using the programming knowledge, is built into.

While the flow of the entire business is expressed with "A. Standard processing icon", "B. Processing of its own" is incorporated into a part of the steps. Actually, it is merely making the previous coverage, "Upstream Process of Entering the Client Name, the Template" into a black-box by [Script Task]. That is, the processing of the data is completely the same.

[Upstream flow Order-Delivery-Billing (Script Task)]

[Upstream flow Order-Delivery-Billing (Script Task): "1. Client Registration" screen]

At first glance, the portion of the Script Task, it seems to be difficult to improve In terms from the perspective of the person in charge.

However, this example is a template that is a description about so called Upstream Step. It is assumed to be used as a foundation to create a Business Process definition such as "Business Visiting Report" or "Corresponding Brochure Request", by adding the downstream Steps. If so, there will be some meanings in "Impossible to be modified" to you. Especially if this upstream process was a "Process that is standardized on the company-wide".

<Comparison of tow Order-Delivery-Billing Upstream flow>

var c_selects = data.get("1"); //End User Name (Select)
var c_string = data.get("2"); //End User Name (String)
var category = data.get("3").get(0).getValue(); //Update Category

var text = "";
var datetime = processInstance.getProcessInstanceStartDatetime();
var formatter = new java.text.SimpleDateFormat("yyyy-MM");

text += formatter.format(datetime) + ": ";

if (category == 1) {
processInstance.setProcessInstanceTitle(text + c_string);
} else if (category == 2) {
processInstance.setProcessInstanceTitle(text + c_selects.get(0).getDisplay());
} else if (category == 3 && c_string != null) {
//No Updating
processInstance.setProcessInstanceTitle(text + c_string);
} else {
processInstance.setProcessInstanceTitle(text + c_selects.get(0).getDisplay());

As the same story of "literacy rate" or "Internet usage", it is getting to the age that a lot of people have learned the "knowledge of programming" at a simple level. It sure is, the functions and Macro in Microsoft Excel, or Google App Script for example, these would help the efficiency to some extent.

That's right... The Knowledge of programming does not exist only for to create new 'Application softwares' (e.g. EXE file). It may be said, it has become a "presence that has got the Citizenship" so to speak.

However, a situation, such as for example, 'Spaghetti coded excel files' to be mass-produced in the organizations around the world in the 20th century, should not occur. That is, it can be said that we must be inevitably cautious to some extent, about what level should be the "general term", or what level should be the "common sense", when there is a big difference of knowledge level in the organization.

[Data Items List]

[Free Download]
<Similar Models>
<<Related Articles>>