How to work with 3DEXPERIENCE platform groups?

3DEXPERIENCE platform User Groups can be used by ITEROP. Purpose User groups can be defined directly in ITEROP, but administrators must manually keep these groups synchronized with changes made in the 3DEXPERIENCE platform. Alternatively, user groups created in the 3DEXPERIENCE platform’s User Groups app can be mapped to ITEROP for automatic synchronization. As of March … Read more

Utilities : utils.getDaysBetweenDates()

Get the number of days and hours between two dates. Method signature Purpose Calculates the number of days between two dates. Result is taking into account past(-)/future(+). The result is a decimal number rounded to the hundredth indicating the difference (in days) between two dates. The integer part is the number of days between the … Read more

Business Table : Get ID using its name

Gets the ID of the business table whose name matches the value of the “name” argument. Method signature Purpose Every function offered to manage a Business Table requires the ID of the table to work with. Usage example Parameters Name Type Required? Description name String Yes The name of the Business Table to search for. … Read more

How can we create a Business table using scripting?

How can we create a Business table using scripting?Answer : We cannot define a new Business Table using scripting. The table must be defined using the ITEROP Business Process Design user interface. Once a table is created, you can use these functions to manage content:

Categories Tip

JSON.parse()

Converts a JSON string into a JavaScript object Method signature Purpose JSON.parse() is a built‑in JavaScript function that turns a JSON‑formatted string into a native JavaScript value (object, array, number, string, boolean, or null). In other words, it deserialises text data back into something your code can work with. Usage example Parameters Name Type Required? Description … Read more

History : history.getTaskStartDate()

Get the start date of a task (last task started) Method signature Purpose Returns the date and time of the last execution of the the task instance corresponding to the provided task key. The date, time and time zone are based on the server configuration. Usage example Parameters Name Type Required? Description execution DelegateExecution Yes … Read more

Utilities : utils.now()

Return to current date and time Method signature Purpose Get the current date and time. Usage example Parameters Name Type Required? Description none Return value Type Description Date A variable of type Date Notes Possible error None Used with History : history.getTaskStartDate()

Utilities : utils.formatDate()

Format a date Method signature Purpose Format a date passed as a parameter according to the specified format with or without using the ITEROP locale. Usage example Parameters Name Type Required? Description format String Yes format type used in the JAVA language version 5.1 date Date Yes A date object or a String containing properly … Read more

Variables : io.hasValue() or utils.hasValue()

Check if an ITEROP variable has a value. io.hasValue() are utils.hasValue() provide the same check and return the same results. Method signature Purpose Test if a variable has a value. Usage example Parameters Name Type Required? Description variableID String Yes An assigned variable Return value Type Description Boolean True : The variable has a value … Read more