01-10-2013 12:11 PM
@Property(type = PropertyType.COMBOBOX_CHOICE, displayName = "Account type", required = true)
@Help(displayHelpShort = "The type of account", displayHelpLong = "Choose a type of account from the list of options")
@PropertyItems({ ACCOUNT_TYPE_SAVINGS_LABEL, ACCOUNT_TYPE_SAVINGS_VALUE, ACCOUNT_TYPE_JUNIOR_LABEL, ACCOUNT_TYPE_JUNIOR_VALUE, ACCOUNT_TYPE_JOINT_LABEL,
ACCOUNT_TYPE_JOINT_VALUE, ACCOUNT_TYPE_TRANSACTIONAL_LABEL, ACCOUNT_TYPE_TRANSACTIONAL_VALUE, ACCOUNT_TYPE_STUDENT_LABEL, ACCOUNT_TYPE_STUDENT_VALUE,
ACCOUNT_TYPE_SENIOR_LABEL, ACCOUNT_TYPE_SENIOR_VALUE })
private String accountType;
{
"id" : "servicetaskfields",
"type" : "Complex",
"title" : "Class fields",
"value" : "",
"description" : "Field extensions",
"popular" : true,
"complexItems" : [ {
"id" : "servicetask_field_name",
"name" : "Name",
"type" : "String",
"value" : "",
"width" : 200,
"optional" : false
}, {
"id" : "servicetask_field_value",
"name" : "String value",
"type" : "String",
"value" : "",
"width" : 200,
"optional" : false
}, {
"id" : "servicetask_field_expression",
"name" : "Expression",
"type" : "String",
"value" : "",
"width" : 200,
"optional" : false
} ]
}
"type" : "Complex"
"type" : "Choice"
01-10-2013 01:18 PM
01-10-2013 02:04 PM
Sure, that's perfectly possible.
01-10-2013 02:12 PM
01-11-2013 05:58 AM
{
"id" : "servicetaskfields",
"type" : "Choice",
"title" : "Class fields",
"value" : "action",
"description" : "Field extensions",
"popular" : true,
"items" : [ {
"id" : "v1",
"title" : "Value1",
"value" : "0"
}, {
"id" : "v2",
"title" : "Value2",
"value" : "1",
} ]
}
<serviceTask id="sid-682459E4-9AE5-49A1-8EBB-CE0584676771" name="TestService" activiti:class="de.pickert.bpmn.services.ActionService"></serviceTask>
<serviceTask id="sid-682459E4-9AE5-49A1-8EBB-CE0584676771" name="TestService" activiti:class="de.pickert.bpmn.services.ActionService">
<extensionElements>
<activiti:field name="action" stringValue="0"></activiti:field>
</extensionElements>
</serviceTask>
01-11-2013 11:08 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.