当前位置:网站首页>How to store the startprocessinstancebykey method in acticiti in the variable table
How to store the startprocessinstancebykey method in acticiti in the variable table
2022-07-27 05:10:00 【_ Dean_】
Acticiti in startProcessInstanceByKey Method in variable How to store in the table
It is known that :
In the use of runtimeService.startProcessInstanceByKey(String processDefinitionKey, String businessKey, Map<String, Object> variables) When initiating a process , Business data needs to be stored in act_hi_varinst( The process is over ) And act_ru_variable( Process not ended ) In these two tables . Here's the picture :

NAME_: Store the field names in the business tableVAR_TYPEStored as field typeBOUBLE\_,LONG\_,TEXT_Store field values
When JAVA There are properties of the following types in the class, such as :List And so on

stay varinst As shown in the following figure , From the figure below activiti take list Data of collection type is serialized to act_ge_bytearray In the table

Go to the act_ge_bytearray Find the corresponding id You can find the corresponding serialized storage , But at this time, it is found that there are two different types of names NAME_, Here's the picture :

- With hist.var The beginning represents historical variables , Delegate process ended
- With var The beginning represents that the process is running
边栏推荐
- Test basis 5
- "Photoshop2021 tutorial" adjust the picture to different aspect ratio
- Constraints of MySQL table
- 传智教育|软件测试工程师未来的发展方向有哪些?
- Introduction to MySQL optimization
- DBUtils
- Basic operation of vim
- Idea 如何新建一个groovy的项目(图文详细解释)
- [search] - multi source BFS + minimum step model
- QT menu bar, toolbar and status bar
猜你喜欢
随机推荐
[acwing] solution to the 61st weekly match
老子云携手福昕鲲鹏,首次实现3D OFD三维版式文档的重大突破
Knapsack problem DP
微淼联合创始人孙延芳:以合规为第一要义,做财商教育“正规军”
多态的详讲
Approval of meeting OA
A math problem cost the chip giant $500million
Detailed description of binary search tree
听过最自律的一句话: 那些我难以言表 不作声响
Install pyGame
What is the future development direction of software testing engineers?
The difference between strlen and sizeof
探寻通用奥特能平台安全、智能、性能的奥秘!
《Robust and Precise Vehicle Localization based on Multi-sensor Fusionin Diverse City Scenes》翻译
对话框简介
Static and final keyword learning demo exercise
来自“飞人”乔丹的启示!奥尼尔开启的另一个“赛场”
C language address book management system (linked list, segmented storage of mobile phone numbers, TXT file access, complete source code)
树莓派rtmp推流本地摄像头图像
1、 MySQL Foundation





![[search] connectivity model of DFS + search order](/img/67/40444e53621371b1c8b47f22ebc956.png)



![[search] - multi source BFS + minimum step model](/img/42/11b5b89153ab48d837707988752268.png)