Appendix C Embedded formulas

This appendix describes the functions and contents that can be entered in the [Notification Setting] template and the [Subject] and [Body] of the [Notifications] process.
Function Description
String getProcessKey() Returns the value of key property.
String getProperty(String propertyId)
  • Returns the property value specified in the business process.
    Argument 1: property ID
  • If the value is blank or the specified property does not exist, a blank string is returned.
  • The run status and status are returned after converted to display values.
  • The date/time and date are returned after converted to the view type of this component.
String getProperty(String stepId, String propertyId)
  • The property specified by the step is returned.
    Argument 1: target definition ID (whole business process, step, step group)Argument 2: property ID
  • If the value is blank or the specified step or property does not exist, a blank string is returned.
  • The run status and status are returned after converted to display values.
  • The date/time and date are returned after converted to the view type of this component.
String getAfterValue()
  • The updated property value to be notified is returned.
  • If the updated value is blank, a blank string is returned.
  • The run status and status are returned after converted to display values.
  • The date/time and date are returned after converted to the view type of this component.
String getBeforeValue()
  • The property value before update to be notified is returned.
  • If the updated value is blank, a blank string is returned.
  • The run status and status are returned after converted to display values.
  • The date/time and date are returned after converted to the view type of this component.
String urlEncode(String str) Performs URL encoding (UTF-8) on a string given as an argument.
Setting Example for Business Item Definition
The following example is when using embedded formulas.
Subject: [$.getProcessKey()] Status update notice for the quotation step of the case
body: Target case: [$.getProcessKey()]
Notification content: The status of quotation step is updated to [$.getProperty('Step1','et:statusString')].
Confirm from the URL below.
https://data-management.fbiwpro.fujifilm.com/web/{Office ID}/process/page/instances/search?business=example&param1=$.urlEncode($.getProcessKey())

The following e-mail will be sent actually.
Subject: [TEST001] Status update notice for the quotation step of the case
body: Target case: [TEST001]
Notification content: The status of quotation step is updated to [RED].
Confirm from the URL below.
https://data-management.fbiwpro.fujifilm.com/web/{Office ID}/process/page/instances/search?business=example&param1=%28%E6%A0%AA%29%E5%AF%8C%E5%A3%AB%E3%83%93%E3%83% AB%E5%BB%BA%E8%A8%AD
Note
Office IDs can be checked by reviewing your FUJIFILM IWpro File Management URL. For example, the sample URL below indicates the Document screen.
https://data-management.fbiwpro.fujifilm.com/web/{Office ID}/document/page/main/object-list