#instantiationform

How can I use a List of Option Process Variables on an Instanciation form

Hi community,

I created a list of option process variable the manage different value associated to an element (i.e. status: open, closed, rejected,...)

How can I use this list on the instantiation form?

Thanks

Iam getting 404 error when trying to open a instantiation form in a page

Steps followed

1.I have created variable external API to get process name as

configureApproverProcess

/bonita/API/bpm/process?c=1&p=0&f=name=Configure Approver process

2.I have created another variable javascript expression to get URL as

getTaskUrl

how to get logged in User Name and current user system date time in instantiation Form

I am a beginner in Bonita working on a project

My requirement is to get logged in username and current user system date time

For Username: In business variable default value script I have tried writing the below code

def userName= apiAccessor.getIdentityAPI().getUser(userId).getUserName();

//but how can i get userId as it is an instantiation Form

For current user system date time :I have tried below code in business variable default value script

import java.time.*

Debug message USERNAME= | Activity instance with id 7561792730588318941 not found

when i fill the submit button on my instantiation contract, ut shows error debug message to bottom of the page as

Debug message

USERNAME=Roberto | Activity instance with id 7561792730588318941 not found)

and I have only two members in the organization and both have the same scope in the pool.

Somebody help, please...!!

Invalid initial content for document

Hi, I'm using Bonita Studio Community version 7.8.4.
In a project, I create an instantiation form and it works correctly until I added a document in Data tab and set initial content for it from contract. Just I set initial content for my document variable, below error is showing in validation status or when I run the project:
Invalid initial content for document reqDocument. No FILE contract input has been found.
When I'm going to edit document, file Contract input is cleared! I adding it again but still the problem exist!

Notifications