Value v = context.getFlowVariables().getValue(変数名);
■System変数
Value v = context.getSystemVariables().getValue(変数名);
■外部変数
ExternalVariables vals = context.getExternalVariables(変数名);
Value v = context.getFlowVariables().getValue(変数名);
Value v = context.getSystemVariables().getValue(変数名);
ExternalVariables vals = context.getExternalVariables(変数名);
try {
context.addTransaction(context.getConnectionTransaction(ConnectionProperty));
} catch (FlowException e) {
throw new MapperException(e);
}
LOOP_END・・・Loop処理を実行し、Loopは終了した
LOOP_CONTINUE・・・Loop処理を実行し、Loopは継続する
LOOP_NOTHING・・・Loop処理は実行されなかった
FlowRequest flow = new FlowRequest();
flow.setUserName(value);
flow.setProjectName(value);
flow.setFlowName(value);
flow.setSessionId(value);
flow.setLifetime(value);
flow.setExecuteMode(value);
VariableList params = new VariableList();
params.putValue(KEY, new Value(VALUE));
flow.setParams(params);
FlowExecuteClient client = new FlowExecuteClient(IP、ポート);
client.login(ユーザ、パス);
FlowResponse response = client.execute(flow);
// 入力Dataの項目数を取得する。
this.inDef = this.getInputConnector().getStream().getFieldDefinition();
// 入力実Data一行を取得する。
Record record = this.getInputConnector().getStream().getRecord();
// 入力実Dataを一行ずつ読み込みループする
while (record != null) {
// ここに行いたい処理を書く。
// this.inDef.getFieldCount()で入力Dataの総項目数を取得してそれを回す。
for (int i = 0; i < this.inDef.getFieldCount(); i++) {
// 項目名をとる
Field fld = this.inDef.getField(i);
Field fld = record.getField(項目名);
Value val = record.getValue(i);
Value val = record.getValue(項目名);
}
record = record.nextRecord();
}
<taskdef name="mergeDefine" classname="com.infoteria.asteria.flowengine2.tool.anttask.MergeDefineTask">
<classpath>
<fileset dir="${designer.lib}">
<include name="flowengine2.jar">
<include name="flowutil.jar">
<include name="ipex.jar">
<include name="asutil.jar">
<include name="oro.jar">
<include name="xercesImpl.jar"> ←追加
</include></include></include></include></include></include></fileset>
</classpath>
</taskdef>
フィールド値の取得に失敗しました : [Record=0][Field=XXX][For input string: "XXX"]
C:\Program Files\ASTERIA WARP Flow Designer
C:\Program Files\asteriawarp
C:\Program Files\asteriawarp\common\ext