Daily Report-weather record
Submits a daily report to the supervisor to be checked at the [2. Report Check/Comment] Step. Automatically retrieves the day’s weather data via API and records it.
BPMN Nodes
  • 5 1. Submit Daily Report The store manager reports the sales of the day.
  • 1 1x. Rework The store manager corrects the report and resubmits.
  • 8 2. Report Check/Comment The area manager confirms and returns if any deficiencies.
  • 2 x1. Set Weather Data The system purses the JSON and sets the result to Data Items.
Variables (click to open)
  • JSON Response q_JSON 0:
  • Error Response q_Error 1:
  • = Sales Report = 2:
  • Report Date q_Report 3: processInstanceStartDatetime
  • Day of the week q_Day 4:
  • Today’s Weather q_Today 5: Automatically set at x1.
  • High temperature of Today q_High_Today 6:
  • Tomorrow’s Weather q_Tomorrow 7: Automatically set at x1.
  • High temperature of Tomorrow q_High_Tomorrow 8:
  • Sales Amount q_Amount 9:
  • Cost of Purchase q_Cost 10:
  • = Correspondence = 11:
  • Reporter q_Reporter 12: ${processInstance.initQuserId}
  • Related files q_Files 13:
  • Memo q_Memo 14:

Download

daily-report-weather-record-20131021-209-en.qar

Only available for Professional or Enterprise edition.

Notes

  • You need to associate the Swimlane settings according to your organizational structure upon import
  • You need to apply for the Open Weather service and obtain your API key (appid)
    • Open Weather
    • Set your API key to the Parameter Value of [appid] in the Send Parameter tab of the Throwing Message Intermediate Event (HTTP)
    • For the Parameter Value of [id], set the City code specified in Open Weather

See also

%d bloggers like this: