Question

Create user task with dinamic parameters output

Hi team, 

 

Is possible to have a user task where I will return dynamic parameters to the business process? The intention is to have N quantity of columns depending on the logic. Something similar to the webservice element is working, depending on the method returning the parameters on the response.

Like 0

Like

3 comments

Hello,

 

Could you please describe your business process in more detail, specifically with an exact example? What input data do you already have and what results do you expect from this business process?

 

If you have already started to create this business process, could you also send us this information so that we can use it to understand the process more clearly? 

Malika,

I need to create a business process where I send a request to the user task (like a web service request) and depending on the result I need to make the parameters dynamically. For example, if the web service responds with a text field I need to add a parameter with a text field as a result and then process that on the business process. Similar to the webservice element is doing it, once you click on that it refreshes the parameters based on the previous settings defined.

Hi!

 

In this last response, you seek guidance on how to populate the user task parameters dynamically based on specific conditions or data from a previous step in the process. Here are some key points to consider:

 

- Parameters are typically defined statically when designing a process. This Script Task can execute custom logic to set the task parameters dynamically based on your specific conditions or data. You can find more details on using Script Tasks https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

 

- Consider reviewing your process structure to determine if the current parameter options and conditions align with your business goals.

 

- If you are looking for guidance on how to work with various entity types or data structures within Creatio's processes or data modeling, it would be more relevant to explore Creatio's documentation e. g. https://academy.creatio.com/docs/developer/front_end_development_freedo…

However, if your request does involve integrating external data sources or dealing with data types in a broader software development context, you may rely on the following discussion: https://stackoverflow.com/questions/11634079/how-can-i-get-the-data-typ…

 

- to adjust your implementation to the business goal you have, it can be beneficial to get acquainted with the conditional flow documentation as well: https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

 

In summary, to dynamically populate user task parameters, consider implementing a Script Task within your Creatio process. This Script Task can execute custom logic to set parameters based on your conditions or data. Additionally, review the process structure, explore Creatio documentation, and leverage conditional flows for effective parameter handling.

 

Remember that Creatio's flexibility allows you to achieve your business goals with tailored solutions, and the provided resources can help you navigate the process effectively.

 

Hope it helps!

Show all comments