How To Update Form Value Of Task in WSO2BPS - wso2

I am using wso2bps-3.6.0 and created a workflow for task approval. In this workflow, I have created multiple tasks and each task have their own form. I am able to insert and retrieve value from form but i am not able to update this form value.
Please let me know, which wso2bps rest api should i call to update form value.

You can update form values by updating variables related to form entries. Please refer 15.7.10. Create (or update) variables on a task in Activiti User Guide for detailed information.
Note: Since WSO2 BPS uses Activiti BPMN engine, almost all functionalities provided in it are available and similar in WSO2 BPS BPMN Rest API.
~Mili~

Related

Apply more filtering in OTRS Ticket Search and Get

I am new to OTRS. In one of the workflows I fetch ticket info via Ticket API.
I want only specific fields like Subject and SenderType. I do not need to download the entire ticket data.
Also, I need to apply filters at article level(apart form Article Create Time I need Article Subject contains ) and download specific article info instead of the entire ticket data. There are more clients requesting data from OTRS and I am hitting the limits.
Can I accomplish these? If so how? Do I need to create Webservice or other functionalities.
On a separate note, Where do i find info on Webservice creation in OTRS and Webhooks?

Where can I store the refresh and access token in django

I'm using django and trying to integrate it with quickbooks online through python-quickbooks package and already did so and it works fine, but the problem is I don't want to store the tokens in the request session because I'm trying to access them outside the views, to be exact I'm trying to send an invoice each time an invoice(invoice model from django) object was made I want to send one to quickbooks and I'm doing this through django signals but I can't access the session from the signals so where is the best place to store them on the server side?
thanks in advance.
You can create new Django model just for your integration and query it when you need to get tokens. Especially it can be useful if you plan to have multiple integrations, you can add relation from object (which is related to signal) to "integration object".

Where does WSO2 Greg stores custom RXTs created

Where does WSO2 Greg store custom RXTs that are created? They can be edited/added through admin console. I can see the default RXTs under wso2 greg home/repository/resources/rxts but do not see here the custom RXTs
Also let me know
How does WSo2 Greg generate reg_UUID for the resources added? I want to implement the UUID generation script outside so that i can add the resource entries in the respective tables directly from DB?
If you create it using mgt console it will be only stored in DB. However, users can add soft copies of rxt to <GREG_HOME>/repository/resources/rxts/ location. This is a one-time addition and will not reflect any changes that we do to the rxt softcopy afterward. Please find last words of this article.
UUID is created in registry PUT operation and please find the sample code here which we used to generate UUIDs for Swaggers. As per your fix you need to create a registry handler for your assets and remove any existing handler then link your UUID creation logic. Please find this article on how to create a custom handler.

WSO2 API Manager 2.0 User Class extension

We've deployed WSO2 API Manager 2.0 and are very happy with it.
Although, we've been looking in the documentation if it is possible to add a field to the user profile but haven't found anything yet, is this at all possible? Also, if this is possible can we show the field somewhere on the frontend? Or better yet, is it possible to send it to a backend webservice?
Our problem is that we have a backend with users that have a token, but we didn't want to send that token to the API Manager, we want it to be added without worrying the user. Is this at all possible? We know about sequence mediation and this can probably be achieved with it, the only complication is where we store the user token, for each user.
Thanks in advance!
Best Regards
You can introduce new user attributes to user profiles. APIM uses WSO2 identity server features internally. So you can refer this doc.
If you enabled Supported by Default property, it will be shown in user profile.
You can use JWT to send user claims to backend. You can find docs here.
Last part is not much clear to me.

Jmeter : random users are visible at parameterize script execution

I am new to Jmeter and with the help of blogs and SOF, I could able to manage the record and parameterize the Script.
I am testing ASP.Net web application which uses Windows Authentication and AD.
The problem here is after execution in View Result Tree I can see the old user http page. For example I recorded the script with USer A and I parameterized all the varaible required to run the same script with user B. But at execution I can see User A session is loading and the data created by this transaction is corrupted which has some values of User A and User B.
I tried using Post processor >> Regular expression extractor for capturing ViewState and EventValidation and kept it back to post request now error is resolved but transaction itself is not happening. No new data created after this change.
Please help me. I am confused now what I am doing wrong here.
It seems that you have hard-coded "Authorization" header which identifies all your virtual users as "User A". If it is the case - this header needs to be removed from all the requests and you need to construct a proper one with HTTP Authorization Manager.
See Windows Authentication with Apache JMeter to learn about how to properly setup JMeter for dealing with Active Directory logins. It is possible to parametrize usernames, passwords,domains, etc. as normal using CSV Data Set Config.