From a88ab05a41365dde5e96df5883ada2b2f9c43152 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Thu, 22 Dec 2022 20:27:55 +0000 Subject: [PATCH] User: alex added process model file misc/user-info/user-info.bpmn --- misc/user-info/process_model.json | 4 +- misc/user-info/user-info.bpmn | 183 ++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+), 2 deletions(-) create mode 100644 misc/user-info/user-info.bpmn diff --git a/misc/user-info/process_model.json b/misc/user-info/process_model.json index faacfe72..1532430f 100644 --- a/misc/user-info/process_model.json +++ b/misc/user-info/process_model.json @@ -6,6 +6,6 @@ "fault_or_suspend_on_exception": "fault", "files": [], "metadata_extraction_paths": null, - "primary_file_name": null, - "primary_process_id": null + "primary_file_name": "user-info.bpmn", + "primary_process_id": "SR-User_Info" } \ No newline at end of file diff --git a/misc/user-info/user-info.bpmn b/misc/user-info/user-info.bpmn new file mode 100644 index 00000000..ec46e3a1 --- /dev/null +++ b/misc/user-info/user-info.bpmn @@ -0,0 +1,183 @@ + + + + + Flow_1q8xtg6 + + + + + user_info + + Flow_1q8xtg6 + Flow_08nmyrt + + + Flow_0pq61y0 + + + + Flow_08nmyrt + Flow_0i96b90 + Flow_0d47w7r + + + + + not(isCurrentUser) + + + Flow_0i96b90 + Flow_020y0gy + # Update Current User Extras +current_user_extras = {} +current_user_extras["bamboo_api_id"] = userBambooId +current_user_extras["full_name"] = userFullName +current_user_extras["first_name"] = userFirstName +current_user_extras["email"] = userEmail +current_user_extras["time_zone"] = userTimeZone +current_user_extras["date_format"] = userDateFormat +current_user_extras["time_format"] = userTimeFormat +current_user_extras["status_key"] = userStatusKey + +del(userFullName) +del (userFirstName) +del(userEmail) +del(userTimeZone) +del(userStatusKey) +del(userBambooId) +del(userDateFormat) +del(userTimeFormat) + + + + + + + + + + + Flow_020y0gy + Flow_009u4d4 + + + + Flow_0d47w7r + Flow_18ri6tq + Flow_1gd83n0 + + + + + Flow_009u4d4 + Flow_18ri6tq + # Add Bamboo Info to Extras +current_user_extras["bamboo_supervisor_api_id"] = resp_BambooUserInfo["supervisorEid"] +current_user_extras["bamboo_supervisor_email"] = userBambooId = resp_BambooUserInfo["supervisorEmail"] +current_user_extras["bamboo_supervisor_status_id"] = userBambooId = resp_BambooUserInfo["supervisorId"] + + + + + User_Info_Group-Finance + + Flow_1gd83n0 + Flow_1nghnfw + + + + + User_Info_Group-New_Talent + + Flow_1nghnfw + Flow_0pq61y0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +