UFIDA Developer Center Application Construction Practice Guidelines (2): How to implement the entry application form function?

UFIDA Developer Center Application Construction Practice Guidelines (2): How to implement the entry application form function?

In the previous article " UF Developer Center Application Construction Practice Guidelines! In ", we completed the configuration of applicant information registration, and realized the function of interviewers submitting application information and interviewers scoring. This article hopes to realize the function of automatically submitting information to HR to generate an entry application form after the interview information is approved.

1. Entity configuration

First, modify the published registration information entity, add business flow reference interface and post field, and release it, so that the subsequent design of the business flow function that is pushed down from the registration information to the entry application. What needs to be noted here is that after the entity has been published, we need to avoid modifying the published entity to delete fields or cancel the interface as much as possible. This modification will easily cause error prompts in subsequent pages and process design.

Secondly, since a business object can only contain one main entity, add a new business object named Entry Application Form, and check Generate main entity at the same time to automatically generate a piece of entity information based on the name of the business object.

Click Edit to configure the entity content. In addition to the fields of name, gender, age, education, score, and position covered in the registration information, the fields here also add three fields: salary, contract start date, and contract period. After the entity configuration is complete, click Save and Publish as well.

2. Page configuration

After the entity release is complete, enter the page modeling interface, select the business object "Job Application" and click New Page to create a single card page that references the entry application entity as metadata. Click Preview to see the implementation effect as shown in the figure below.

At the same time, since we have modified the registration information of the published entity, we need to modify the page configuration generated according to this entity simultaneously. In pages created with reference to published entities, there is a metadata bar on the left, which contains all the fields in the entity. If a field is added after the page is created, the field will be added synchronously in the metadata column on the left. Click the form page to enter the page designer, drag the field to the corresponding position of the form, and then complete adding field information.

Similarly, in the designer of the details page, you can also complete the configuration of the job field by dragging and dropping the field.

3. Business flow configuration

The function of generating an entry application form based on registration information needs to be implemented using the push order rules in the business flow. First, enter the Process & Automation interface to create a new business flow named Entry Application, and click Design to configure the business flow.

After entering the business flow configuration, drag and drop the two pages that need to configure push order relationship from the left menu bar to the canvas, and add a link from applicant information to entry information to associate the two pages, click the plus sign in the contact to configure the period rules, select push order in the rule information on the right and create a new rule.

The specific rule configuration information is as follows: Among them, the effective timing of the document selected in the trigger setting means that the document needs to automatically trigger the order push rule after the approval process is completed.

In the conversion rule, you can set the data source of the target field. In the association selection, you can choose three types: constant, formula calculation, and simple mapping. Among them, the constant is the fixed constant that is automatically brought into the setting for the field, and the simple mapping is the information of a certain field that is brought into the source document. The formula calculation is to perform formula calculation on the variables of the source document or obtain system information through the system prefabricated formula.

4. Realize the effect

First, submit a piece of test information in the configured mobile terminal information registration form.

It can be seen that the information has been synchronized in the registration information table on the PC side. After configuring the information to be edited and submitting for approval, the status of the document changes from open to approved.                                                             

At this time, refresh the entry application form page, and you can see that an entry application information has been automatically generated. In summary, the function of automatically generating entry applications after the applicant data is approved is completed.

Guess you like

Origin blog.csdn.net/weixin_43947457/article/details/130054465